X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao.h;h=8a344ccab2b19847d93da807f2d286db3a9d8d0c;hp=7cb0fbfe7786c9ff7203a6443a01efb6823f5576;hb=fbd8f4aff5058f4d371596b04715b7cb6d38e729;hpb=fb63262699d3a6fbf347d24efda8b01f75b7d0d3 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_ */