]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/storage/Block/RandRWC.nc
The big interface switchover for Packet, Send, Receive, and AMSend.
[tinyos-2.x.git] / apps / tests / storage / Block / RandRWC.nc
index 1744f0611d60318f10816955103bd44fed0a21f5..d3afad7f87a3697ab4c132f5031e52e3011c3352 100644 (file)
@@ -65,7 +65,7 @@ implementation {
   void done();
 
   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)