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); }