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