mirror of https://github.com/arendst/Tasmota.git
Add uart info
This commit is contained in:
parent
9b64c4eb4c
commit
50b0a983b2
|
@ -189,6 +189,9 @@ void SerialBridgeInit(void) {
|
|||
}
|
||||
SerialBridgeSerial->flush();
|
||||
SerialBridgePrintf("\r\n");
|
||||
#ifdef ESP32
|
||||
AddLog(LOG_LEVEL_DEBUG, PSTR("SBR: Serial UART%d"), SerialBridgeSerial->getUart());
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -399,6 +399,9 @@ void TasmotaClient_Init(void) {
|
|||
if (TasmotaClient_Serial->hardwareSerial()) {
|
||||
ClaimSerial();
|
||||
}
|
||||
#ifdef ESP32
|
||||
AddLog(LOG_LEVEL_DEBUG, PSTR("TCL: Serial UART%d"), TasmotaClient_Serial->getUart());
|
||||
#endif
|
||||
if (PinUsed(GPIO_TASMOTACLIENT_RST_INV)) {
|
||||
SetPin(Pin(GPIO_TASMOTACLIENT_RST_INV), AGPIO(GPIO_TASMOTACLIENT_RST));
|
||||
TClient.inverted = HIGH;
|
||||
|
|
Loading…
Reference in New Issue