]> granicus.if.org Git - esp-idf/commitdiff
Change the enum of wifi_storage_t to be the same as that in wifi lib.
authorxiaxiaotian <xiaxiaotian@espressif.com>
Mon, 12 Sep 2016 03:38:13 +0000 (11:38 +0800)
committerxiaxiaotian <xiaxiaotian@espressif.com>
Mon, 12 Sep 2016 03:38:13 +0000 (11:38 +0800)
components/esp32/include/esp_wifi.h

index 357788225abd96092436f67d70dc0dcd41b3a7d2..d21eb1b851ad05b06149a1761331dfa29fe9d0d6 100755 (executable)
@@ -235,8 +235,8 @@ esp_err_t esp_wifi_get_station_list(struct station_info **station);
 esp_err_t esp_wifi_free_station_list(void);
 
 typedef enum {
-    WIFI_STORAGE_RAM,
     WIFI_STORAGE_FLASH,
+    WIFI_STORAGE_RAM,
 } wifi_storage_t;
 
 esp_err_t esp_wifi_set_storage(wifi_storage_t storage);