mirror of
https://github.com/wled/WLED.git
synced 2025-11-11 03:51:30 +00:00
fix for esp32_eth
This commit is contained in:
@@ -240,7 +240,7 @@ void getSettingsJS(byte subPage, Print& settingsScript)
|
|||||||
sprintf(s, "%d.%d.%d.%d", localIP[0], localIP[1], localIP[2], localIP[3]);
|
sprintf(s, "%d.%d.%d.%d", localIP[0], localIP[1], localIP[2], localIP[3]);
|
||||||
|
|
||||||
#if defined(ARDUINO_ARCH_ESP32) && defined(WLED_USE_ETHERNET)
|
#if defined(ARDUINO_ARCH_ESP32) && defined(WLED_USE_ETHERNET)
|
||||||
if (Network.isEthernet()) strcat_P(s ,PSTR(" (Ethernet)"));
|
if (WLEDNetwork.isEthernet()) strcat_P(s ,PSTR(" (Ethernet)"));
|
||||||
#endif
|
#endif
|
||||||
printSetClassElementHTML(settingsScript,PSTR("sip"),0,s);
|
printSetClassElementHTML(settingsScript,PSTR("sip"),0,s);
|
||||||
} else
|
} else
|
||||||
|
|||||||
Reference in New Issue
Block a user