[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/cc2420/LplBroadcastCountToLeds RadioCountToLedsC.nc, 1.1, 1.2

Phil Levis scipio at users.sourceforge.net
Thu Sep 13 16:10:23 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/cc2420/LplBroadcastCountToLeds
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27056/apps/tests/cc2420/LplBroadcastCountToLeds

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/tests/cc2420/LplBroadcastCountToLeds/RadioCountToLedsC.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RadioCountToLedsC.nc	12 Apr 2007 17:14:08 -0000	1.1
--- RadioCountToLedsC.nc	13 Sep 2007 23:10:21 -0000	1.2
***************
*** 89,93 ****
      }
      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;
--- 89,93 ----
      }
      else {
!       radio_count_msg_t* rcm = (radio_count_msg_t*)call Packet.getPayload(&packet, sizeof(radio_count_msg_t));
        if (call Packet.maxPayloadLength() < sizeof(radio_count_msg_t)) {
          return;



More information about the Tinyos-2-commits mailing list