]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/storage/CircularLog/RandRWC.nc
Minor updates to comply wit TEP3 and TEP4
[tinyos-2.x.git] / apps / tests / storage / CircularLog / RandRWC.nc
index db69deab546d652256a2eef5e6b84b068983fecf..64c6425df44b767a098b0e0c7cf5929c95cb22d9 100644 (file)
@@ -62,13 +62,13 @@ implementation {
   
   uint8_t data[NRECS * RECSIZE], rdata[RECSIZE];
   int count, testCount;
-  message_t reportmsg;
+  message_t reportMsg;
 
   void report(error_t e) {
-    uint8_t *msg = call AMSend.getPayload(&reportmsg, 1);
+    uint8_t *msg = call AMSend.getPayload(&reportMsg, 1);
 
     msg[0] = e;
-    if (call AMSend.send(AM_BROADCAST_ADDR, &reportmsg, 1) != SUCCESS)
+    if (call AMSend.send(AM_BROADCAST_ADDR, &reportMsg, 1) != SUCCESS)
       call Leds.led0On();
   }