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