Add device-dashboard/minimal

This commit is contained in:
cpq committed 2026-04-29 09:45:41 +01:00
1 parent 5925bf7ea5
commit 7a21199d4a
9 files changed
+166 -17

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
// SPDX-FileCopyrightText: 2026 Cesanta Software Limited
// SPDX-License-Identifier: GPL-2.0-only or commercial
#include "mongoose.h"
int main(void) {
struct mg_mgr mgr;
mg_mgr_init(&mgr);
mg_dash_init(&mgr);
for (;;) {
mg_mgr_poll(&mgr, 10);
mg_dash_poll(&mgr);
}
return 0;
}