]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/storage/Log/RandRWC.nc
Minor updates to comply wit TEP3 and TEP4
[tinyos-2.x.git] / apps / tests / storage / Log / RandRWC.nc
index 0420ac2ea4785d29d41c6d786a0baea897c9080c..0c7ee628a86165df2ccb0c2f7a4ace69e4403d49 100644 (file)
@@ -62,15 +62,15 @@ implementation {
   int count, testCount;
   uint32_t len;
   uint16_t offset;
-  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);
 
     if (msg)
       {
        msg[0] = e;
-       if (call AMSend.send(AM_BROADCAST_ADDR, &reportmsg, 1) == SUCCESS)
+       if (call AMSend.send(AM_BROADCAST_ADDR, &reportMsg, 1) == SUCCESS)
          return;
       }
     call Leds.led0On();