mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fixed broken tcp_perf example by adding nvs_flash
This commit is contained in:
parent
f54e99008d
commit
0dea8bca46
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user