We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9634116 commit 84f3796Copy full SHA for 84f3796
cores/esp32/esp32-hal-uart.c
@@ -992,7 +992,7 @@ void uartEnd(uint8_t uart_num) {
992
// returns the operation success status
993
bool uartPinSignalInversion(uart_t *uart, uint32_t invMask, bool inverted) {
994
if (uart == NULL) {
995
- return;
+ return false;
996
}
997
UART_MUTEX_LOCK();
998
uint32_t _inv_mask = uart->inv_mask;
0 commit comments