projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: ao_data_get is in ao_data.c now, not ao_adc.c
[fw/altos]
/
src
/
core
/
ao_task.c
diff --git
a/src/core/ao_task.c
b/src/core/ao_task.c
index 9cb074b5220a2c6279353d1b4ab5371be2dd5385..0aad650898d9c54dddca6d53e6fa2c799aec89d8 100644
(file)
--- a/
src/core/ao_task.c
+++ b/
src/core/ao_task.c
@@
-512,6
+512,7
@@
ao_exit(void)
/* we'll never get back here */
}
/* we'll never get back here */
}
+#if HAS_TASK_INFO
void
ao_task_info(void)
{
void
ao_task_info(void)
{
@@
-528,6
+529,7
@@
ao_task_info(void)
ao_task_validate();
#endif
}
ao_task_validate();
#endif
}
+#endif
void
ao_start_scheduler(void)
void
ao_start_scheduler(void)
@@
-536,5
+538,8
@@
ao_start_scheduler(void)
ao_cur_task_index = AO_NO_TASK_INDEX;
#endif
ao_cur_task = NULL;
ao_cur_task_index = AO_NO_TASK_INDEX;
#endif
ao_cur_task = NULL;
+#if HAS_ARCH_START_SCHEDULER
+ ao_arch_start_scheduler();
+#endif
ao_yield();
}
ao_yield();
}