From 9f6867d9b3002fdd95ddc4a3d7a7117db8eedd9b Mon Sep 17 00:00:00 2001 From: Arcao Date: Sun, 12 Feb 2017 18:36:34 +0100 Subject: [PATCH] Fix for implicit declaration of function nvs_flash_init error --- cores/esp32/esp32-hal-misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp32/esp32-hal-misc.c b/cores/esp32/esp32-hal-misc.c index 92e82f42633..133583d9899 100644 --- a/cores/esp32/esp32-hal-misc.c +++ b/cores/esp32/esp32-hal-misc.c @@ -17,9 +17,9 @@ #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_attr.h" +#include "nvs_flash.h" #if !CONFIG_ESP32_PHY_AUTO_INIT -#include "nvs_flash.h" #include "esp_phy_init.h" #include "rom/rtc.h" void arduino_phy_init()