fixed broken tcp_perf example by adding nvs_flash

This commit is contained in:
petermccloud 2017-11-15 19:44:25 -08:00 committed by Angus Gratton
parent f54e99008d
commit 0dea8bca46

View File

@ -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();