diff options
author | Keith Packard <keithp@keithp.com> | 2013-04-22 20:24:48 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-04-22 20:26:42 -0500 |
commit | 4bd115f9fc01dc3a68c9765992d3df4d9cffd63d (patch) | |
tree | 07b8c28127ad22330f6cd11a726685cac02be2b0 /src/core/ao.h | |
parent | 0f349d56583af93f083c2bb7d4bf678074685f48 (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h index 548e8738..f12ca9a5 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 /* |