Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita683b81

Browse files
authored
fix(wifi): Do not use persistent mode with ESP-Hosted (espressif#12043)
1 parent5ab1db6 commita683b81

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎libraries/WiFi/src/WiFiGeneric.cpp‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,12 @@ bool wifiLowLevelInit(bool persistent) {
264264

265265
wifi_init_config_t cfg =WIFI_INIT_CONFIG_DEFAULT();
266266

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+
267273
if (!WiFiGenericClass::useStaticBuffers()) {
268274
cfg.static_tx_buf_num =0;
269275
cfg.dynamic_tx_buf_num =32;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp