[Tinyos-2-commits]
CVS: tinyos-2.x/apps/tests/eyesIFX/RadioCountToFlash
RadioCountToFlashC.nc, 1.2, 1.3
Phil Levis
scipio at users.sourceforge.net
Thu Sep 13 16:10:29 PDT 2007
Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/eyesIFX/RadioCountToFlash
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27056/apps/tests/eyesIFX/RadioCountToFlash
Modified Files:
RadioCountToFlashC.nc
Log Message:
The big interface switchover for Packet, Send, Receive, and AMSend.
Index: RadioCountToFlashC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/eyesIFX/RadioCountToFlash/RadioCountToFlashC.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** RadioCountToFlashC.nc 6 Nov 2006 11:56:53 -0000 1.2
--- RadioCountToFlashC.nc 13 Sep 2007 23:10:21 -0000 1.3
***************
*** 116,121 ****
}
else {
! RadioCountMsg* rcm = (RadioCountMsg*)call Packet.getPayload(&packet, NULL);
! if (call Packet.maxPayloadLength() < sizeof(RadioCountMsg)) {
return;
}
--- 116,121 ----
}
else {
! RadioCountMsg* rcm = (RadioCountMsg*)call Packet.getPayload(&packet, sizeof(rcm));
! if (rcm == NULL || call Packet.maxPayloadLength() < sizeof(RadioCountMsg)) {
return;
}
More information about the Tinyos-2-commits
mailing list