avr/flash: removed unnecessary code.
This commit is contained in:
@@ -259,7 +259,7 @@ ioRecvMsg:
|
|||||||
pop xl
|
pop xl
|
||||||
brcs ioRecvMsg_end
|
brcs ioRecvMsg_end
|
||||||
ioRecvMsg_error:
|
ioRecvMsg_error:
|
||||||
rcall ioRecvSkipMessage ; skip remainder of the message
|
; rcall ioRecvSkipMessage ; skip remainder of the message
|
||||||
clc
|
clc
|
||||||
ioRecvMsg_end:
|
ioRecvMsg_end:
|
||||||
ret
|
ret
|
||||||
@@ -267,6 +267,7 @@ ioRecvMsg_end:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if 0
|
||||||
; ---------------------------------------------------------------------------
|
; ---------------------------------------------------------------------------
|
||||||
; @routine ioRecvSkipMessage
|
; @routine ioRecvSkipMessage
|
||||||
;
|
;
|
||||||
@@ -299,6 +300,7 @@ ioRecvFlush:
|
|||||||
M_IO_READ r16, UART_REG_UDR ; read data byte
|
M_IO_READ r16, UART_REG_UDR ; read data byte
|
||||||
rjmp ioRecvFlush
|
rjmp ioRecvFlush
|
||||||
; @end
|
; @end
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -475,7 +477,7 @@ ioRawWaitForData10ms_gotit:
|
|||||||
; @routine ioRawWaitForData1000Cycles
|
; @routine ioRawWaitForData1000Cycles
|
||||||
;
|
;
|
||||||
; Wait for incoming data for max 1000 clock cycles
|
; 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
|
; @return CFLAG set if okay (packet received), cleared on error
|
||||||
; @clobbers: r20, r22
|
; @clobbers: r20, r22
|
||||||
|
|||||||
Reference in New Issue
Block a user