From 3b84c1e8fa994c00a2f9b1fd27e4b73b93192b71 Mon Sep 17 00:00:00 2001 From: petermccloud Date: Wed, 15 Nov 2017 19:52:55 -0800 Subject: [PATCH] fixed broken udp_perf example by adding nvs_flash Merges https://github.com/espressif/esp-idf/pull/1279 --- examples/performance/udp_perf/main/udp_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/performance/udp_perf/main/udp_main.c b/examples/performance/udp_perf/main/udp_main.c index d4d8b1fa96..cad32a8134 100644 --- a/examples/performance/udp_perf/main/udp_main.c +++ b/examples/performance/udp_perf/main/udp_main.c @@ -36,6 +36,7 @@ step3: #include "freertos/event_groups.h" #include "esp_log.h" #include "esp_err.h" +#include "nvs_flash.h" #include "udp_perf.h" @@ -102,6 +103,7 @@ static void udp_conn(void *pvParameters) void app_main(void) { + nvs_flash_init(); #if EXAMPLE_ESP_WIFI_MODE_AP ESP_LOGI(TAG, "EXAMPLE_ESP_WIFI_MODE_AP"); wifi_init_softap();