From: razvanm Date: Sat, 28 Jun 2008 00:48:25 +0000 (+0000) Subject: Match the serial byte with the led that is toggled. X-Git-Tag: release_tinyos_2_1_0_0~139 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=1065321af2e2b1f65823eb730a211fd00c369fd9 Match the serial byte with the led that is toggled. --- diff --git a/apps/tests/deluge/SerialBlink/BlinkC.nc b/apps/tests/deluge/SerialBlink/BlinkC.nc index 15684e28..a14d5d48 100644 --- a/apps/tests/deluge/SerialBlink/BlinkC.nc +++ b/apps/tests/deluge/SerialBlink/BlinkC.nc @@ -60,8 +60,8 @@ implementation char *payload = call AMSend.getPayload(&byte_msg, 1); dbg("BlinkC", "Timer 0 fired @ %s.\n", sim_time_string()); #ifndef BLINK_REVERSE - call Leds.led1Toggle(); - payload[0] = 1; + call Leds.led0Toggle(); + payload[0] = 0; #else call Leds.led2Toggle(); payload[0] = 2;