Skip to content

Commit 654356b

Browse files
committed
Fixed missing return value
1 parent 85032b2 commit 654356b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ void uartEnd(uart_t* uart)
242242

243243
size_t uartResizeRxBuffer(uart_t * uart, size_t new_size) {
244244
if(uart == NULL) {
245-
return;
245+
return 0;
246246
}
247247

248248
UART_MUTEX_LOCK();

0 commit comments

Comments
 (0)