Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fa59103

Browse files
authoredApr 24, 2024
feat (uart): keep overflow log as warning
Keeps Overflow / Buffer Full log messages in Warning Level.
1 parent fd7a7ba commit fa59103

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎cores/esp32/HardwareSerial.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,11 @@ void HardwareSerial::_uartEventTask(void *args)
236236
uart->_onReceiveCB();
237237
break;
238238
case UART_FIFO_OVF:
239-
log_v("UART%d FIFO Overflow. Consider adding Hardware Flow Control to your Application.", uart->_uart_nr);
239+
log_w("UART%d FIFO Overflow. Consider adding Hardware Flow Control to your Application.", uart->_uart_nr);
240240
currentErr = UART_FIFO_OVF_ERROR;
241241
break;
242242
case UART_BUFFER_FULL:
243-
log_v("UART%d Buffer Full. Consider increasing your buffer size of your Application.", uart->_uart_nr);
243+
log_w("UART%d Buffer Full. Consider increasing your buffer size of your Application.", uart->_uart_nr);
244244
currentErr = UART_BUFFER_FULL_ERROR;
245245
break;
246246
case UART_BREAK:

0 commit comments

Comments
 (0)
Please sign in to comment.