From 570a3ea486777e9be9e0eaac790340bf7b3d1911 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Tue, 15 Dec 2020 22:36:52 +0100 Subject: [PATCH] wifiscan.cpp: remove legay event loop handler --- src/wifiscan.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wifiscan.cpp b/src/wifiscan.cpp index bc69699b..9e9c480e 100644 --- a/src/wifiscan.cpp +++ b/src/wifiscan.cpp @@ -63,7 +63,6 @@ void wifi_sniffer_init(void) { WIFI_PROMIS_FILTER_MASK_MGMT | WIFI_PROMIS_FILTER_MASK_DATA}; - ESP_ERROR_CHECK(esp_event_loop_init(NULL, NULL)); ESP_ERROR_CHECK(esp_wifi_init(&wifi_cfg)); // start Wifi task ESP_ERROR_CHECK( esp_wifi_set_country(&wifi_country)); // set locales for RF and channels