1
0
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:
Gunar Schorcht 2019-01-31 08:37:30 +01:00 committed by Schorcht
parent 8f0f8f5993
commit 636c0847be

View File

@ -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 */