small error with position leds
This commit is contained in:
parent
4c7669af24
commit
6c824d91a1
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue