[Tinyos-2-commits] CVS: tinyos-2.x/apps/BaseStation BaseStationP.nc, 1.7, 1.8

Phil Levis scipio at users.sourceforge.net
Tue Feb 19 11:56:05 PST 2008


Update of /cvsroot/tinyos/tinyos-2.x/apps/BaseStation
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv2433

Modified Files:
	BaseStationP.nc 
Log Message:
Er, do it right.


Index: BaseStationP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/BaseStation/BaseStationP.nc,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** BaseStationP.nc	19 Feb 2008 19:54:34 -0000	1.7
--- BaseStationP.nc	19 Feb 2008 19:56:03 -0000	1.8
***************
*** 192,196 ****
      addr = call RadioAMPacket.destination(msg);
      src = call RadioAMPacket.source(msg);
!     call RadioAMPacket.clear(msg);
      call UartAMPacket.setSource(msg, src);
  
--- 192,196 ----
      addr = call RadioAMPacket.destination(msg);
      src = call RadioAMPacket.source(msg);
!     call UartPacket.clear(msg);
      call UartAMPacket.setSource(msg, src);
  
***************
*** 271,275 ****
      id = call UartAMPacket.type(msg);
  
!     call RadioAMPacket.clear(msg);
      call RadioAMPacket.setSource(msg, source);
      
--- 271,275 ----
      id = call UartAMPacket.type(msg);
  
!     call RadioPacket.clear(msg);
      call RadioAMPacket.setSource(msg, source);
      



More information about the Tinyos-2-commits mailing list