Make IP clickable via serial monitor
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user