X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=ao.h;h=23f131722f087a2a1940d2cbc700e7fe8cc79125;hp=5574f30fe156fb7262c2e983b0e748496772eae8;hb=5e2393eb6b1a6d7b180bd63d5165ee7b7ff5f9e0;hpb=acc4fc635edb70ec1ba2dff9f7ac0c8542c72c47 diff --git a/ao.h b/ao.h index 5574f30f..23f13172 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 0x7f +#define AO_STACK_START 0x5c #define AO_STACK_END 0xfe #define AO_STACK_SIZE (AO_STACK_END - AO_STACK_START + 1) @@ -305,10 +305,10 @@ ao_dma_isr(void) interrupt 8; */ void -ao_mutex_get(__xdata uint8_t *ao_mutex); +ao_mutex_get(__xdata uint8_t *ao_mutex) __reentrant; void -ao_mutex_put(__xdata uint8_t *ao_mutex); +ao_mutex_put(__xdata uint8_t *ao_mutex) __reentrant; /* * ao_ee.c