aboutsummaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-05-09 17:04:59 +0200
committerlonkaars <loek@pipeframe.xyz>2024-05-09 17:04:59 +0200
commit9263beca5c84f5f136c913439fe0557f1469e120 (patch)
tree71d8e697a25cbdf631f54664700dea2e61af1823 /main/main.c
parentadc6e726f672aa7057992af54b286f7632b4fb07 (diff)
WIP TCP socket server
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c
index c97a808..a0a09a0 100644
--- a/main/main.c
+++ b/main/main.c
@@ -6,6 +6,7 @@
#include "config.h"
#include "init.h"
+#include "sock.h"
// #include <lwip/sockets.h>
// #include <lwip/sys.h>
@@ -36,6 +37,7 @@ int main() {
xTaskCreate((TaskFunction_t) blink_task, "blink", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 2, NULL);
xTaskCreate((TaskFunction_t) test_task, "test", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 2, NULL);
+ xTaskCreate((TaskFunction_t) serve_task, "serve", configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY + 2, NULL);
vTaskStartScheduler();
}