]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Fix the getPayload to obey the new signature.
authorrazvanm <razvanm>
Sat, 22 Dec 2007 08:14:18 +0000 (08:14 +0000)
committerrazvanm <razvanm>
Sat, 22 Dec 2007 08:14:18 +0000 (08:14 +0000)
apps/tests/deluge/SerialBlink/BlinkC.nc

index ef32ef406541dac0c38d7c88292e252bb01ebc63..15684e28e590a7edfea3f4c313891fca39431394 100644 (file)
@@ -57,7 +57,7 @@ implementation
 
   event void Timer0.fired()
   {
-    char *payload = call AMSend.getPayload(&byte_msg);
+    char *payload = call AMSend.getPayload(&byte_msg, 1);
     dbg("BlinkC", "Timer 0 fired @ %s.\n", sim_time_string());
 #ifndef BLINK_REVERSE
     call Leds.led1Toggle();