From d7d38b1524a5c52eed78ea37fbaab81aa3d2ceab Mon Sep 17 00:00:00 2001 From: bogdan Date: Sun, 18 Feb 2024 13:03:59 +0200 Subject: [PATCH] fixed redundant state callback in AP plus STA mode --- src/WiFiTransport.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/WiFiTransport.c b/src/WiFiTransport.c index 91d17b8..789820c 100644 --- a/src/WiFiTransport.c +++ b/src/WiFiTransport.c @@ -374,12 +374,13 @@ static void wifi_init_apsta(void *pvParameter) ; ESP_ERROR_CHECK(esp_wifi_init(&ap_cfg)); + /* ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL, NULL)); - + */ wifi_config_t ap_wifi_config = { .ap = {