small error with position leds

This commit is contained in:
schneider 2011-12-11 18:32:34 +01:00
parent 4c7669af24
commit 6c824d91a1
1 changed files with 1 additions and 1 deletions

View File

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