summaryrefslogtreecommitdiff
path: root/src/stm-demo/ao_demo.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-03-18 22:10:02 -0700
committerKeith Packard <keithp@keithp.com>2012-03-28 21:37:03 -0700
commitab6ea9043b592c25948a70b6204d613756a9a250 (patch)
tree4b80aae20861b4128b0bf6da410ae7fd35f65650 /src/stm-demo/ao_demo.c
parent0cc01d378ae96325e429ad608b953661582939b0 (diff)
Basic OS running on STM32L
This gets stm-demo working Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm-demo/ao_demo.c')
-rw-r--r--src/stm-demo/ao_demo.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/stm-demo/ao_demo.c b/src/stm-demo/ao_demo.c
index 90216535..5fe0b154 100644
--- a/src/stm-demo/ao_demo.c
+++ b/src/stm-demo/ao_demo.c
@@ -42,8 +42,9 @@ main(void)
ao_serial_init();
ao_timer_init();
- ao_cmd_init();
+// ao_cmd_init();
- ao_demo();
+ ao_add_task(&demo_task, ao_demo, "demo");
+ ao_start_scheduler();
return 0;
}