Integrate ESP32 health support

This commit is contained in:
Sergio R. Caprile committed 2026-10-27 11:32:36 -03:00
1 parent b766c65615
commit b6df410570
9 files changed
+245 -89

No files matched your search

+3 -1
View File
@@ -70,8 +70,10 @@ static void http_ev_handler(struct mg_connection *c, int ev, void *ev_data) {
}
}
extern void wifi_init(const char *ssid, const char *pass);
void app_main(void) {
void wifi_init(const char *ssid, const char *pass);
MG_HEALTH_INIT();
wifi_init(WIFI_SSID, WIFI_PASS);
struct mg_mgr mgr;
@@ -1 +1,3 @@
#define MG_ARCH MG_ARCH_ESP32
#define MG_ENABLE_HEALTH 1