Make IP clickable via serial monitor

This commit is contained in:
Troy
2024-11-23 11:27:32 -05:00
committed by Frank
parent d2a7b9e450
commit 3b46af1101

View File

@@ -1352,9 +1352,19 @@ void WLED::handleConnection()
initAP();
}
} else if (!interfacesInited) { //newly connected
DEBUG_PRINTLN("");
USER_PRINT(F("Connected! IP address: "));
USER_PRINTLN("");
USER_PRINT(F("Connected! IP address: http://"));
USER_PRINTLN(Network.localIP());
//if (Network.isEthernet()) {
// #if ESP32
// USER_PRINT(ETH.localIP());
// USER_PRINTLN(" via Ethernet");
// #endif
//} else {
// USER_PRINT(Network.localIP());
// USER_PRINTLN(" via WiFi");
//}
if (improvActive) {
if (improvError == 3) sendImprovStateResponse(0x00, true);
sendImprovStateResponse(0x04);