Skip to content

Commit 84f3796

Browse files
authored
fix(uart): missing function return value
1 parent 9634116 commit 84f3796

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
@@ -992,7 +992,7 @@ void uartEnd(uint8_t uart_num) {
992992
// returns the operation success status
993993
bool uartPinSignalInversion(uart_t *uart, uint32_t invMask, bool inverted) {
994994
if (uart == NULL) {
995-
return;
995+
return false;
996996
}
997997
UART_MUTEX_LOCK();
998998
uint32_t _inv_mask = uart->inv_mask;

0 commit comments

Comments
 (0)