Merge pull request #3742 from cesanta/hesp

Integrate ESP32 health support
This commit is contained in:
Sergio R. Caprile authored and GitHub committed 2026-11-05 22:34:20 +00:00
commit 1a9bc9d3f3
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