Refactor device-dashboard

This commit is contained in:
cpq committed 2023-05-26 16:20:25 +01:00
1 parent 380d6ac5c2
commit 49a9bb5a8b
60 files changed
+7752 -5228

No files matched your search

-3
View File
@@ -138,9 +138,6 @@ int main(int argc, char *argv[]) {
&mif.mac[2], &mif.mac[3], &mif.mac[4], &mif.mac[5]);
mg_tcpip_init(&mgr, &mif);
MG_INFO(("Init done, starting main loop"));
// extern void device_dashboard_fn(struct mg_connection *, int, void *, void
// *);
mg_http_listen(&mgr, "http://0.0.0.0:8000", fn, &mgr);
while (s_signo == 0) mg_mgr_poll(&mgr, 100); // Infinite event loop