avr: fixed abug.
This commit is contained in:
@@ -58,7 +58,7 @@ LedSimple_Init:
|
||||
LedSimple_Every100ms:
|
||||
lds r16, ledSimpleTimer
|
||||
dec r16
|
||||
brne LedSimple_Every100ms_zero
|
||||
breq LedSimple_Every100ms_zero
|
||||
rjmp LedSimple_Every100ms_setTimer
|
||||
LedSimple_Every100ms_zero:
|
||||
sbic LED_SIMPLE_PORT, LED_SIMPLE_PINNUM ; skip next op if LED is on
|
||||
|
||||
Reference in New Issue
Block a user