flash: fixed a bug (reversed register order).
This commit is contained in:
@@ -43,7 +43,7 @@ ioWaitForGivenMsg_loop:
|
||||
cpi r16, CPRO_CMD_FLASH_END
|
||||
breq ioWaitForGivenMsg_gotIt
|
||||
ioWaitForGivenMsg_loopEnd:
|
||||
mov r17, r16 ; move expected code back to r16
|
||||
mov r16, r17 ; move expected code back to r16
|
||||
dec r20
|
||||
brne ioWaitForGivenMsg_loop
|
||||
clc
|
||||
|
||||
Reference in New Issue
Block a user