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