make example code cute uwu

This commit is contained in:
2026-05-06 01:50:37 +02:00
parent a790be7921
commit 72ff9a1176

View File

@@ -22,7 +22,6 @@ and then in C
#include <network.h>
#include <esp_event.h>
static const wifi_networks_t known_networks = {
.nets = {
{"DAA+", "password"},
@@ -55,4 +54,4 @@ just register the callback before with
esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &on_get_ip, nullptr);
```
Event loop is global so as long as you include `<esp_event.h>` you can write and register a callback to anything you need to.
Event loop is global so as long as you include `<esp_event.h>` you can write and register a callback to anything you need to. You might also need `<esp_netif.h>`