Skip to content

Commit d537d94

Browse files
committed
see what we're missing
1 parent 0914b71 commit d537d94

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ports/esp32s2/common-hal/wifi/__init__.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,15 @@ static void event_handler(void* arg, esp_event_base_t event_base,
7878

7979
radio->last_disconnect_reason = reason;
8080
xEventGroupSetBits(radio->event_group_handle, WIFI_DISCONNECTED_BIT);
81+
break;
8182
}
8283

8384
// Cases to handle later.
8485
// case WIFI_EVENT_STA_AUTHMODE_CHANGE:
85-
default:
86+
default: {
87+
ESP_EARLY_LOGW(TAG, "event %d 0x%02x", event_id, event_id);
8688
break;
89+
}
8790
}
8891
}
8992

0 commit comments

Comments
 (0)