]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/storage/Block/RandRWC.nc
Minor updates to comply wit TEP3 and TEP4
[tinyos-2.x.git] / apps / tests / storage / Block / RandRWC.nc
index d3afad7f87a3697ab4c132f5031e52e3011c3352..874c5ca70dc513747ea2e4279704bcbf69b7cce5 100644 (file)
@@ -60,15 +60,15 @@ implementation {
   int count, testCount;
   uint32_t addr, len;
   uint16_t offset;
-  message_t reportmsg;
+  message_t reportMsg;
 
   void done();
 
   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();
   }