]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/storage/Config/RandRWC.nc
The big interface switchover for Packet, Send, Receive, and AMSend.
[tinyos-2.x.git] / apps / tests / storage / Config / RandRWC.nc
index d55ddb7630916d642fef0c5b20035e84a773baa2..829c99ced7fb9a2421553afc12cf837a6203a3ca 100644 (file)
@@ -70,7 +70,7 @@ implementation {
   }
   
   void report(error_t e) {
-    uint8_t *msg = call AMSend.getPayload(&reportmsg);
+    uint8_t *msg = call AMSend.getPayload(&reportmsg, 1);
 
     msg[0] = e;
     if (call AMSend.send(AM_BROADCAST_ADDR, &reportmsg, 1) != SUCCESS)