diff options
| author | Keith Packard <keithp@keithp.com> | 2013-04-22 20:24:48 -0500 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2013-05-07 20:16:53 -0700 |
| commit | 6f3bbb11880f45284f1f094990ffa32a66bf4560 (patch) | |
| tree | 676bfb281abcade63990749d8cc98acc8abae1dd /src/attiny | |
| parent | 21356aec543dd85426a52469426351ce006a17dd (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(); \ |
