From 1065321af2e2b1f65823eb730a211fd00c369fd9 Mon Sep 17 00:00:00 2001 From: razvanm Date: Sat, 28 Jun 2008 00:48:25 +0000 Subject: [PATCH] Match the serial byte with the led that is toggled. --- apps/tests/deluge/SerialBlink/BlinkC.nc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2