avr/flash: removed unnecessary code.

This commit is contained in:
Martin Preuss
2025-05-26 21:10:12 +02:00
parent 4fdfd77a54
commit 603a8e93d0

View File

@@ -259,7 +259,7 @@ ioRecvMsg:
pop xl
brcs ioRecvMsg_end
ioRecvMsg_error:
rcall ioRecvSkipMessage ; skip remainder of the message
; rcall ioRecvSkipMessage ; skip remainder of the message
clc
ioRecvMsg_end:
ret
@@ -267,6 +267,7 @@ ioRecvMsg_end:
#if 0
; ---------------------------------------------------------------------------
; @routine ioRecvSkipMessage
;
@@ -299,6 +300,7 @@ ioRecvFlush:
M_IO_READ r16, UART_REG_UDR ; read data byte
rjmp ioRecvFlush
; @end
#endif
@@ -475,7 +477,7 @@ ioRawWaitForData10ms_gotit:
; @routine ioRawWaitForData1000Cycles
;
; Wait for incoming data for max 1000 clock cycles
; (about 1ms at 1MHz, 0.125 at 8MHz)
; (about 1ms at 1MHz, 0.125ms at 8MHz)
;
; @return CFLAG set if okay (packet received), cleared on error
; @clobbers: r20, r22