mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +00:00
updated to device dashboard new structure
This commit is contained in:
1 parent
836a8a284c
commit
14e6ea9c14
16 files changed
+36
-33
No files matched your search
@@ -24,6 +24,7 @@
|
||||
/* USER CODE BEGIN Includes */
|
||||
#include "hal.h"
|
||||
#include "mongoose.h"
|
||||
#include "net.h"
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
@@ -163,8 +164,7 @@ int main(void)
|
||||
}
|
||||
|
||||
MG_INFO(("Initialising application..."));
|
||||
extern void device_dashboard_fn(struct mg_connection *, int, void *, void *);
|
||||
mg_http_listen(&mgr, "http://0.0.0.0", device_dashboard_fn, NULL);
|
||||
web_init(&mgr);
|
||||
|
||||
MG_INFO(("Starting event loop"));
|
||||
|
||||
|
||||
Reference in new issue
Block a user