summaryrefslogtreecommitdiff
path: root/src/core/ao_panic.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-25 22:04:36 -0700
committerKeith Packard <keithp@keithp.com>2011-08-25 22:04:36 -0700
commite9fab7dc99a0e7c22b511c5919adf7df85213252 (patch)
treee450bafdc33a19e87e7420b442ebf7a44fe40687 /src/core/ao_panic.c
parenta588092a7d76dab92e4ab11e0fdb457d2ddc9025 (diff)
altos: add GCC/SDCC compat macros, init_stack, save_context and GCC stdio hooks
More arch-indepdency bits. GCC stdio is different from SDCC, so create suitable code in avr/ao_avr_stdio.c Create macros to initialize the task stack frame and save the task context. Add GCC/SDCC type definition compatibility macros Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_panic.c')
-rw-r--r--src/core/ao_panic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ao_panic.c b/src/core/ao_panic.c
index fdada201..cbfdf399 100644
--- a/src/core/ao_panic.c
+++ b/src/core/ao_panic.c
@@ -33,7 +33,7 @@ ao_panic_delay(uint8_t n)
while (n--)
while (--j)
while (--i)
- _asm nop _endasm;
+ ao_arch_nop();
}
void