[Tinyos-2-commits]
CVS: tinyos-2.x-contrib/tunit/tests/tinyos-2.x/tos/lib/serial/TestUartByte
TestUartP.nc, 1.1, 1.2
David Moss
mossmoss at users.sourceforge.net
Mon Sep 17 13:28:05 PDT 2007
Update of /cvsroot/tinyos/tinyos-2.x-contrib/tunit/tests/tinyos-2.x/tos/lib/serial/TestUartByte
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv22380
Modified Files:
TestUartP.nc
Log Message:
Updated to be compatible with new send/receive interfaces
Index: TestUartP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x-contrib/tunit/tests/tinyos-2.x/tos/lib/serial/TestUartByte/TestUartP.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestUartP.nc 22 Jul 2007 05:32:15 -0000 1.1
--- TestUartP.nc 17 Sep 2007 20:28:02 -0000 1.2
***************
*** 47,51 ****
event void TestSendBytes.run() {
! TUnitProcessingMsg *tunitMsg = (TUnitProcessingMsg *) call AMSend.getPayload(&myMsg);
tunitMsg->cmd = TUNITPROCESSING_EVENT_TESTRESULT_SUCCESS;
tunitMsg->id = 0;
--- 47,51 ----
event void TestSendBytes.run() {
! TUnitProcessingMsg *tunitMsg = (TUnitProcessingMsg *) call AMSend.getPayload(&myMsg, TOSH_DATA_LENGTH);
tunitMsg->cmd = TUNITPROCESSING_EVENT_TESTRESULT_SUCCESS;
tunitMsg->id = 0;
More information about the Tinyos-2-commits
mailing list