We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ab1db6 commit a683b81Copy full SHA for a683b81
libraries/WiFi/src/WiFiGeneric.cpp
@@ -264,6 +264,12 @@ bool wifiLowLevelInit(bool persistent) {
264
265
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
266
267
+#if CONFIG_ESP_WIFI_REMOTE_ENABLED
268
+ // required for proper work when esp-hosted is used.
269
+ cfg.nvs_enable = false;
270
+ persistent = false;
271
+#endif
272
+
273
if (!WiFiGenericClass::useStaticBuffers()) {
274
cfg.static_tx_buf_num = 0;
275
cfg.dynamic_tx_buf_num = 32;
0 commit comments