Add TLS to pico-w5500 baremetal example

This commit is contained in:
cpq committed 2023-01-30 21:30:10 +00:00
1 parent 476232ea22
commit 052b40680d
15 files changed
+152 -22

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ int main(void) {
struct mg_mgr mgr;
mg_log_set(MG_LL_DEBUG); // Set debug log level
mg_mgr_init(&mgr);
mg_http_listen(&mgr, s_listening_url, device_dashboard_fn, &mgr);
mg_http_listen(&mgr, s_listening_url, device_dashboard_fn, NULL);
MG_INFO(("Listening on %s", s_listening_url));
while (mgr.conns != NULL) mg_mgr_poll(&mgr, 500);
mg_mgr_free(&mgr);