kopia lustrzana https://github.com/meshtastic/firmware
Increase esp32c3 stability over wifi (#5774)
* Increase esp32c3 stability over wifi * only apply the fix on esp32c3 based nodespull/5785/head
rodzic
cdcbf4c615
commit
353740623f
|
@ -143,6 +143,11 @@ static int32_t reconnectWiFi()
|
|||
delay(5000);
|
||||
|
||||
if (!WiFi.isConnected()) {
|
||||
#ifdef CONFIG_IDF_TARGET_ESP32C3
|
||||
WiFi.mode(WIFI_MODE_NULL);
|
||||
WiFi.useStaticBuffers(true);
|
||||
WiFi.mode(WIFI_STA);
|
||||
#endif
|
||||
WiFi.begin(wifiName, wifiPsw);
|
||||
}
|
||||
isReconnecting = false;
|
||||
|
|
Ładowanie…
Reference in New Issue