summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-22 20:24:48 -0500
committerKeith Packard <keithp@keithp.com>2013-05-07 20:16:53 -0700
commit6f3bbb11880f45284f1f094990ffa32a66bf4560 (patch)
tree676bfb281abcade63990749d8cc98acc8abae1dd /src/core/ao.h
parent21356aec543dd85426a52469426351ce006a17dd (diff)
altos: Move ao_notask to core
The STM flash loader wants to be taskless too, share this very simple implementation of sleep/wakeup. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao.h')
-rw-r--r--src/core/ao.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h
index 6bcb3664..0ad3e4aa 100644
--- a/src/core/ao.h
+++ b/src/core/ao.h
@@ -45,6 +45,8 @@
#if HAS_TASK
#include <ao_task.h>
+#else
+#include <ao_notask.h>
#endif
/*