Add initial support for ESP32-C3 (#2454)
* WIP Add support for ESP32-C3 * Add esp32c3 to default_envs * Use new platform from tasmota * Switch back to 2.8.1 as it seems by fixed
This commit is contained in:
@@ -573,7 +573,7 @@ void WLED::initConnection()
|
||||
if (staticIP[0] != 0 && staticGateway[0] != 0) {
|
||||
WiFi.config(staticIP, staticGateway, staticSubnet, IPAddress(1, 1, 1, 1));
|
||||
} else {
|
||||
WiFi.config(0U, 0U, 0U);
|
||||
WiFi.config(IPAddress((uint32_t)0), IPAddress((uint32_t)0), IPAddress((uint32_t)0));
|
||||
}
|
||||
|
||||
lastReconnectAttempt = millis();
|
||||
@@ -804,4 +804,4 @@ void WLED::handleStatusLED()
|
||||
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user