From 0dea8bca46a72b77a57c42089026df05cd4ff3e9 Mon Sep 17 00:00:00 2001 From: petermccloud Date: Wed, 15 Nov 2017 19:44:25 -0800 Subject: [PATCH] fixed broken tcp_perf example by adding nvs_flash --- examples/performance/tcp_perf/main/tcp_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/performance/tcp_perf/main/tcp_main.c b/examples/performance/tcp_perf/main/tcp_main.c index 1497e6150e..c96b0d02b4 100644 --- a/examples/performance/tcp_perf/main/tcp_main.c +++ b/examples/performance/tcp_perf/main/tcp_main.c @@ -33,6 +33,7 @@ step3: #include "freertos/event_groups.h" #include "esp_log.h" #include "esp_err.h" +#include "nvs_flash.h" #include "tcp_perf.h" @@ -123,6 +124,7 @@ static void tcp_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();