[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/cc2420/TxThroughput
TxThroughputP.nc, 1.1, 1.2
Phil Levis
scipio at users.sourceforge.net
Thu Sep 13 16:10:29 PDT 2007
Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/cc2420/TxThroughput
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27056/apps/tests/cc2420/TxThroughput
Modified Files:
TxThroughputP.nc
Log Message:
The big interface switchover for Packet, Send, Receive, and AMSend.
Index: TxThroughputP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/cc2420/TxThroughput/TxThroughputP.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TxThroughputP.nc 12 Apr 2007 17:14:09 -0000 1.1
--- TxThroughputP.nc 13 Sep 2007 23:10:21 -0000 1.2
***************
*** 106,110 ****
/***************** Timer Events ***************/
event void Timer.fired() {
! ((ThroughputMsg *) call SerialAMSend.getPayload(&serialMsg))->packetsPerSecond = packetsPerSecond;
packetsPerSecond = 0;
post sendSerial();
--- 106,110 ----
/***************** Timer Events ***************/
event void Timer.fired() {
! ((ThroughputMsg *) call SerialAMSend.getPayload(&serialMsg, sizeof(ThroughputMsg)))->packetsPerSecond = packetsPerSecond;
packetsPerSecond = 0;
post sendSerial();
More information about the Tinyos-2-commits
mailing list