summaryrefslogtreecommitdiff
path: root/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-14 11:04:09 -0700
committerKeith Packard <keithp@keithp.com>2009-04-14 11:04:09 -0700
commitfbd8f4aff5058f4d371596b04715b7cb6d38e729 (patch)
tree3dd414019ae882e0a73576c17e351c7075de5861 /ao.h
parentfb63262699d3a6fbf347d24efda8b01f75b7d0d3 (diff)
Switch from --model-large to --model-small
This shrinks the application quite a bit, and should make it faster as well. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao.h')
-rw-r--r--ao.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/ao.h b/ao.h
index 7cb0fbfe..8a344cca 100644
--- a/ao.h
+++ b/ao.h
@@ -29,7 +29,7 @@
/* Stack runs from above the allocated __data space to 0xfe, which avoids
* writing to 0xff as that triggers the stack overflow indicator
*/
-#define AO_STACK_START 0x28
+#define AO_STACK_START 0x4b
#define AO_STACK_END 0xfe
#define AO_STACK_SIZE (AO_STACK_END - AO_STACK_START + 1)
@@ -42,9 +42,6 @@ struct ao_task {
#define AO_NUM_TASKS 10 /* maximum number of tasks */
-#define ao_interrupt_disable() (EA = 0)
-#define ao_interrupt_enable() (EA = 1)
-
/*
ao_task.c
*/
@@ -254,4 +251,10 @@ ao_usb_isr(void) interrupt 6;
void
ao_usb_init(void);
+/*
+ * ao_cmd.c
+ */
+void
+ao_cmd_init(void);
+
#endif /* _AO_H_ */