]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/storage/Config/RandRWC.nc
Minor updates to comply wit TEP3 and TEP4
[tinyos-2.x.git] / apps / tests / storage / Config / RandRWC.nc
index a13763a194d3f696ae3f54d712f7e4059f5ff1de..f9810c3b66c146c1ca1b2a32238df642e0d502a4 100644 (file)
@@ -41,7 +41,7 @@ implementation {
     uint16_t len;
   } ops[NWRITES];
 
-  message_t reportmsg;
+  message_t reportMsg;
 
 
   void done();
@@ -70,10 +70,10 @@ implementation {
   }
   
   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();
   }