* 94704. Attention: Intel License Inquiry.
*/
/**
- * Log storage test application. Does a pattern of random reads and
+ * Config storage test application. Does a pattern of random reads and
* writes, based on mote id. See README.txt for more details.
*
* @author David Gay
*/
-module RandRWC {
+module RandRWC @safe() {
uses {
interface Boot;
interface Leds;
}
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)