Browse Source

0.8.134

fix compile error
main
lumapu 2 months ago
parent
commit
57dd70bec9
  1. 2
      src/web/RestApi.h

2
src/web/RestApi.h

@ -801,7 +801,7 @@ class RestApi {
#endif #endif
void getNetworkInfo(JsonObject obj) { void getNetworkInfo(JsonObject obj) {
#if defined(ESP32) #if defined(ETHERNET)
bool isWired = mApp->isWiredConnection(); bool isWired = mApp->isWiredConnection();
if(!isWired) if(!isWired)
obj[F("wifi_channel")] = WiFi.channel(); obj[F("wifi_channel")] = WiFi.channel();

Loading…
Cancel
Save