]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tosthreads/capps/TestSineSensor/TestSineSensor.c
Changes to comply with TEP4.
[tinyos-2.x.git] / apps / tosthreads / capps / TestSineSensor / TestSineSensor.c
index a74be6c979f24544d0036c13fb6a7dcae38fa223..2f676b22c1c37434cd9d865e9de7d4a79f18fd69 100644 (file)
@@ -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