[Tinyos-2-commits]
CVS: tinyos-2.x/apps/tutorials/LowPowerSensing/Base
LowPowerSensingBaseC.nc, 1.1, 1.2
Kevin Klues
klueska at users.sourceforge.net
Thu Oct 4 09:43:10 PDT 2007
Update of /cvsroot/tinyos/tinyos-2.x/apps/tutorials/LowPowerSensing/Base
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv29794/Base
Modified Files:
LowPowerSensingBaseC.nc
Log Message:
Updated to work with the changes to the Packet interface
Index: LowPowerSensingBaseC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tutorials/LowPowerSensing/Base/LowPowerSensingBaseC.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LowPowerSensingBaseC.nc 3 Sep 2007 22:46:35 -0000 1.1
--- LowPowerSensingBaseC.nc 4 Oct 2007 16:43:08 -0000 1.2
***************
*** 66,70 ****
event void Boot.booted() {
serialSending = FALSE;
! sample_msg_payload = (serial_sample_msg_t*)call SerialPacket.getPayload(&sample_msg, NULL);
call RadioAMControl.start();
}
--- 66,70 ----
event void Boot.booted() {
serialSending = FALSE;
! sample_msg_payload = (serial_sample_msg_t*)call SerialPacket.getPayload(&sample_msg, sizeof(serial_sample_msg_t));
call RadioAMControl.start();
}
More information about the Tinyos-2-commits
mailing list