[Tinyos-2-commits] CVS: tinyos-2.x/apps/RadioCountToLeds
RadioCountToLedsC.nc, 1.4, 1.5
Phil Levis
scipio at users.sourceforge.net
Thu Sep 13 16:10:53 PDT 2007
Update of /cvsroot/tinyos/tinyos-2.x/apps/RadioCountToLeds
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27056/apps/RadioCountToLeds
Modified Files:
RadioCountToLedsC.nc
Log Message:
The big interface switchover for Packet, Send, Receive, and AMSend.
Index: RadioCountToLedsC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/RadioCountToLeds/RadioCountToLedsC.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** RadioCountToLedsC.nc 12 Dec 2006 18:22:49 -0000 1.4
--- RadioCountToLedsC.nc 13 Sep 2007 23:10:20 -0000 1.5
***************
*** 86,91 ****
}
else {
! radio_count_msg_t* rcm = (radio_count_msg_t*)call Packet.getPayload(&packet, NULL);
! if (call Packet.maxPayloadLength() < sizeof(radio_count_msg_t)) {
return;
}
--- 86,91 ----
}
else {
! radio_count_msg_t* rcm = (radio_count_msg_t*)call Packet.getPayload(&packet, sizeof(radio_count_msg_t));
! if (rcm == NULL) {
return;
}
More information about the Tinyos-2-commits
mailing list