From 038af84144d203f61febfa1d8505aebc36978801 Mon Sep 17 00:00:00 2001 From: Drath Vader Date: Fri, 19 Jun 2026 13:37:23 +0200 Subject: [PATCH] make it work --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 661d5fd..33a6d8b 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,9 @@ void app_main(void) { V important to call `esp_event_loop_create_default();`, then you can just use callbacks from related modules when IP get, ie. ```c++ +#include + + void on_get_ip(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data) { const ip_event_got_ip_t* event = (ip_event_got_ip_t*)event_data; ESP_LOGI(TAG, "ip getto: " IPSTR, IP2STR(&event->ip_info.ip));