flash: fixed a bug (reversed register order).

This commit is contained in:
Martin Preuss
2025-05-07 20:02:42 +02:00
parent f5cf85a931
commit 6832487c46

View File

@@ -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