mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
allow for minimal scope of wifi_init_config_t
With this change one can use the default config as a variable with minimal scope: esp_wifi_init(&(wifi_init_config_t)WIFI_INIT_CONFIG_DEFAULT())
This commit is contained in:
parent
fffed159f8
commit
317a11cb05
@ -228,7 +228,7 @@ extern uint64_t g_wifi_feature_caps;
|
||||
.feature_caps = g_wifi_feature_caps, \
|
||||
.sta_disconnected_pm = WIFI_STA_DISCONNECTED_PM_ENABLED, \
|
||||
.magic = WIFI_INIT_CONFIG_MAGIC\
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Initialize WiFi
|
||||
|
Loading…
Reference in New Issue
Block a user