From 43cc3dc8159d981bd3cd2e783fa1694f9b34324b Mon Sep 17 00:00:00 2001 From: Martin Sloup Date: Mon, 13 Feb 2017 00:56:47 +0100 Subject: [PATCH] Fix for implicit declaration of function nvs_flash_init error (#204) --- 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 92e82f42..133583d9 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()