removed old COM2 parts from code.

This commit is contained in:
Martin Preuss
2025-05-17 13:16:46 +02:00
parent f9cd1833da
commit 27a0214b5d
3 changed files with 8 additions and 4 deletions

View File

@@ -35,12 +35,12 @@ ioWaitForGivenMsg_loop:
brcc ioWaitForGivenMsg_loopEnd
ldi xl, LOW(flashRecvBuffer)
ldi xh, HIGH(flashRecvBuffer)
adiw xh:xl, COM2_MSG_OFFS_CMD
adiw xh:xl, NETMSG_OFFS_CMD
ld r16, X
sbiw xh:xl, COM2_MSG_OFFS_CMD
sbiw xh:xl, NETMSG_OFFS_CMD
cp r16, r17
breq ioWaitForGivenMsg_gotIt
cpi r16, CPRO_CMD_FLASH_END
cpi r16, NETMSG_CMD_FLASH_END
breq ioWaitForGivenMsg_gotIt
ioWaitForGivenMsg_loopEnd:
mov r16, r17 ; move expected code back to r16