Add uart info

This commit is contained in:
Theo Arends 2022-11-11 16:10:39 +01:00
parent 9b64c4eb4c
commit 50b0a983b2
2 changed files with 6 additions and 0 deletions

View File

@ -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
}
}
}

View File

@ -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;