This commit is contained in:
2026-04-24 16:37:04 +03:00
parent cb1014c950
commit 90037587c0
16 changed files with 224 additions and 3557 deletions

View File

@@ -51,9 +51,9 @@ void init_wifi(const char* ssid, const char* pass) {
esp_event_handler_instance_t instance_got_ip;
esp_event_handler_instance_register(WIFI_EVENT, ESP_EVENT_ANY_ID,
&wifi_event_handler, NULL, &instance_any_id);
&wifi_event_handler, nullptr, &instance_any_id);
esp_event_handler_instance_register(IP_EVENT, IP_EVENT_STA_GOT_IP,
&wifi_event_handler, NULL, &instance_got_ip);
&wifi_event_handler, nullptr, &instance_got_ip);
wifi_config_t wifi_config = {};