aboutsummaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/main/main.c b/main/main.c
index a0a09a0..73b6708 100644
--- a/main/main.c
+++ b/main/main.c
@@ -8,10 +8,6 @@
#include "init.h"
#include "sock.h"
-// #include <lwip/sockets.h>
-// #include <lwip/sys.h>
-// #include <lwip/opt.h>
-
void blink_task() {
await_init(); // `blink_task` uses GPIO
@@ -23,20 +19,10 @@ void blink_task() {
}
}
-void test_task() {
- int i = 0;
- while (true) {
- // stdio is initialized synchronously, so no `await_init` is needed
- printf("hello #%d...\n", ++i);
- vTaskDelay(1000 / portTICK_PERIOD_MS);
- }
-}
-
int main() {
init();
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();