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/attiny | |
| 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/attiny')
| -rw-r--r-- | src/attiny/ao_arch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attiny/ao_arch.h b/src/attiny/ao_arch.h index 52bed981..8140dd30 100644 --- a/src/attiny/ao_arch.h +++ b/src/attiny/ao_arch.h @@ -55,7 +55,7 @@ #define putchar(c) ao_putchar(c) #define getchar ao_getchar -#define ao_arch_cpu_idle() do { \ +#define ao_arch_wait_interrupt() do { \ sleep_enable(); \ sei(); \ sleep_cpu(); \ |
