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 5f25e44 commit 85d92e9Copy full SHA for 85d92e9
cores/esp32/esp32-hal-uart.c
@@ -292,6 +292,7 @@ static bool _uartDetachBus_RX(void *busptr) {
292
return true;
293
}
294
if (bus->_txPin < 0) { // both rx and tx pins are detached, terminate the uart driver
295
+ log_d("_uartDetachBus_RX: both RX and TX pins detached for UART%d, terminating driver", bus->num);
296
uartEnd(bus->num);
297
298
@@ -310,6 +311,7 @@ static bool _uartDetachBus_TX(void *busptr) {
310
311
312
313
if (bus->_rxPin < 0) { // both rx and tx pins are detached, terminate the uart driver
314
+ log_d("_uartDetachBus_TX: both RX and TX pins detached for UART%d, terminating driver", bus->num);
315
316
317
0 commit comments