mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cpu/esp_common: set WiFi config storage type
This commit is contained in:
parent
8f0f8f5993
commit
636c0847be
@ -437,6 +437,15 @@ esp_now_netdev_t *netdev_esp_now_setup(void)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* set configuration storage type */
|
||||
result = esp_wifi_set_storage(WIFI_STORAGE_RAM);
|
||||
if (result != ESP_OK) {
|
||||
LOG_TAG_ERROR("esp_now",
|
||||
"esp_wifi_set_storage failed with return value %d\n",
|
||||
result);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_WIFI_COUNTRY
|
||||
/* TODO */
|
||||
#endif /* CONFIG_WIFI_COUNTRY */
|
||||
|
Loading…
Reference in New Issue
Block a user