Skip to content

Commit 8d2557a

Browse files
SuGliderCopilot
andauthored
fix(uart): code formatting
Co-authored-by: Copilot <[email protected]>
1 parent 7d3c421 commit 8d2557a

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
@@ -309,7 +309,7 @@ static bool _uartDetachBus_TX(void *busptr) {
309309
if (bus->_txPin < 0) {
310310
log_d("_uartDetachBus_TX: TX pin already detached for UART%d", bus->num);
311311
return true;
312-
}
312+
}
313313
if (bus->_rxPin < 0) { // both rx and tx pins are detached, terminate the uart driver
314314
log_d("_uartDetachBus_TX: both RX and TX pins detached for UART%d, terminating driver", bus->num);
315315
uartEnd(bus->num);

0 commit comments

Comments
 (0)