From 0c93ead951bb9666631e78a7f7ebc06cd364a171 Mon Sep 17 00:00:00 2001 From: razvanm Date: Wed, 25 Jun 2008 03:28:52 +0000 Subject: [PATCH] Changes to comply with TEP4. --- apps/tests/TestSimComm/TestCommAppC.nc | 2 +- apps/tosthreads/apps/TestSineSensor/TestSineSensorAppC.nc | 2 +- apps/tosthreads/capps/TestSineSensor/TestSineSensor.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/tests/TestSimComm/TestCommAppC.nc b/apps/tests/TestSimComm/TestCommAppC.nc index 5cd94d2e..c45a546b 100644 --- a/apps/tests/TestSimComm/TestCommAppC.nc +++ b/apps/tests/TestSimComm/TestCommAppC.nc @@ -49,7 +49,7 @@ configuration TestCommAppC {} implementation { enum { - AM_TEST = 5 + AM_TEST = 133 }; components MainC, TestCommC as App, RandomC, ActiveMessageC, TossimActiveMessageC; diff --git a/apps/tosthreads/apps/TestSineSensor/TestSineSensorAppC.nc b/apps/tosthreads/apps/TestSineSensor/TestSineSensorAppC.nc index 2a5bdf2a..b37d3bbb 100644 --- a/apps/tosthreads/apps/TestSineSensor/TestSineSensorAppC.nc +++ b/apps/tosthreads/apps/TestSineSensor/TestSineSensorAppC.nc @@ -41,7 +41,7 @@ implementation { components new BlockingSineSensorC(); components BlockingSerialActiveMessageC; - components new BlockingSerialAMSenderC(100); + components new BlockingSerialAMSenderC(228); MainC.Boot <- TestSineSensorC; MainC.SoftwareInit -> BlockingSineSensorC; diff --git a/apps/tosthreads/capps/TestSineSensor/TestSineSensor.c b/apps/tosthreads/capps/TestSineSensor/TestSineSensor.c index a74be6c9..2f676b22 100644 --- a/apps/tosthreads/capps/TestSineSensor/TestSineSensor.c +++ b/apps/tosthreads/capps/TestSineSensor/TestSineSensor.c @@ -46,7 +46,7 @@ void tosthread_main(void* arg) { while( amSerialStart() != SUCCESS ); for(;;) { while( sinesensor_read(var) != SUCCESS ); - while( amSerialSend(AM_BROADCAST_ADDR, &msg, sizeof(uint16_t), 100) != SUCCESS ); + while( amSerialSend(AM_BROADCAST_ADDR, &msg, sizeof(uint16_t), 228) != SUCCESS ); led0Toggle(); } } \ No newline at end of file -- 2.39.2