From 6c824d91a1f0c6f046f7a46558005f5efa8e0efa Mon Sep 17 00:00:00 2001 From: schneider Date: Sun, 11 Dec 2011 18:32:34 +0100 Subject: [PATCH] small error with position leds --- firmware/applications/default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/applications/default.c b/firmware/applications/default.c index b5a357c..7c518ea 100644 --- a/firmware/applications/default.c +++ b/firmware/applications/default.c @@ -82,7 +82,7 @@ void tick_default(void) { gpioSetValue (RB_LED0, 1); gpioSetValue (RB_LED2, 1); posleds = 1; - }else if( posleds = 1 ){ + }else if( posleds ){ gpioSetValue (RB_LED0, 0); gpioSetValue (RB_LED2, 0); }