From: razvanm Date: Sat, 22 Dec 2007 08:14:18 +0000 (+0000) Subject: Fix the getPayload to obey the new signature. X-Git-Tag: release_tinyos_2_1_0_0~615 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=adf61e8eec900c43698cf53806bdd954f2d65538;p=tinyos-2.x.git Fix the getPayload to obey the new signature. --- diff --git a/apps/tests/deluge/SerialBlink/BlinkC.nc b/apps/tests/deluge/SerialBlink/BlinkC.nc index ef32ef40..15684e28 100644 --- a/apps/tests/deluge/SerialBlink/BlinkC.nc +++ b/apps/tests/deluge/SerialBlink/BlinkC.nc @@ -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();