[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420/transmit CC2420TransmitP.nc, 1.7, 1.8

Phil Levis scipio at users.sourceforge.net
Wed Jul 9 09:23:30 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/transmit
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv22214/transmit

Modified Files:
	CC2420TransmitP.nc 
Log Message:
Fix pointer cast to uint8_t*.


Index: CC2420TransmitP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/transmit/CC2420TransmitP.nc,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** CC2420TransmitP.nc	23 Jun 2008 20:25:15 -0000	1.7
--- CC2420TransmitP.nc	9 Jul 2008 16:23:27 -0000	1.8
***************
*** 273,277 ****
             *timesync  -= time32;
             call CSN.clr();
!            call TXFIFO_RAM.write( call PacketTimeSyncOffset.get(m_msg), (void*)timesync, sizeof(timesync_radio_t) );
             call CSN.set();
          }
--- 273,277 ----
             *timesync  -= time32;
             call CSN.clr();
!            call TXFIFO_RAM.write( call PacketTimeSyncOffset.get(m_msg), (uint8_t*)timesync, sizeof(timesync_radio_t) );
             call CSN.set();
          }



More information about the Tinyos-2-commits mailing list