From 603a8e93d089025dc3973b34ae556eba1e807f53 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Mon, 26 May 2025 21:10:12 +0200 Subject: [PATCH] avr/flash: removed unnecessary code. --- avr/modules/flash/io_uart_all_attn.asm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/avr/modules/flash/io_uart_all_attn.asm b/avr/modules/flash/io_uart_all_attn.asm index 740f3bc..4918dfd 100644 --- a/avr/modules/flash/io_uart_all_attn.asm +++ b/avr/modules/flash/io_uart_all_attn.asm @@ -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