diff --git a/ports/esp32s2/common-hal/wifi/__init__.c b/ports/esp32s2/common-hal/wifi/__init__.c index f735d68644..5ba8f4cd64 100644 --- a/ports/esp32s2/common-hal/wifi/__init__.c +++ b/ports/esp32s2/common-hal/wifi/__init__.c @@ -56,12 +56,12 @@ static void event_handler(void *arg, esp_event_base_t event_base, case WIFI_EVENT_AP_STOP: ESP_LOGW(TAG, "ap stop"); break; - case WIFI_EVENT_AP_STACONNECTED: - ESP_LOGW(TAG, "ap sta connected"); + case WIFI_EVENT_AP_STACONNECTED: { break; - case WIFI_EVENT_AP_STADISCONNECTED: - ESP_LOGW(TAG, "ap sta disconnected"); + } + case WIFI_EVENT_AP_STADISCONNECTED: { break; + } case WIFI_EVENT_STA_START: ESP_LOGW(TAG, "sta start"); break;