diff -r 68404c07aa2b -r ac6ad7bd55c3 main/task_wifi.c --- a/main/task_wifi.c Sat Jun 29 14:03:00 2024 +0200 +++ b/main/task_wifi.c Sat Jun 29 16:09:03 2024 +0200 @@ -241,9 +241,17 @@ break; } #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 4, 0) - /* Not sure about when this was added. */ - case WIFI_EVENT_STA_NEIGHBOR_REP: - ESP_LOGI(TAG, "WIFI_EVENT_STA_NEIGHBOR_REP"); + /* Not sure about when this was added, do nothing and ignore. */ +/** Argument structure for WIFI_EVENT_HOME_CHANNEL_CHANGE event */ +//typedef struct { +// uint8_t old_chan; /**< old home channel of the device */ +// wifi_second_chan_t old_snd; /**< old second channel of the device */ +// uint8_t new_chan; /**< new home channel of the device */ +// wifi_second_chan_t new_snd; /**< new second channel of the device */ +//} wifi_event_home_channel_change_t; + + case WIFI_EVENT_HOME_CHANNEL_CHANGE: +// ESP_LOGI(TAG, "WIFI_EVENT_HOME_CHANNEL_CHANGE"); break; #endif default: