diff options
author | Keith Packard <keithp@keithp.com> | 2009-04-25 13:13:24 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-04-25 13:13:24 -0700 |
commit | 4a050704ad2c497e9f1b0988334228b0bbc4c170 (patch) | |
tree | 952935658f07f7fec9d2572c98712d2a2c6628f2 /ao.h | |
parent | 6b3d25a6d6d7847765eb03b836913dd5ecef2993 (diff) |
Make some functions reentrant to save DSEG space
Diffstat (limited to 'ao.h')
-rw-r--r-- | ao.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -65,7 +65,7 @@ ao_yield(void) _naked; /* Add a task to the run queue */ void -ao_add_task(__xdata struct ao_task * task, void (*start)(void), __code char *name); +ao_add_task(__xdata struct ao_task * task, void (*start)(void), __code char *name) __reentrant; /* Dump task info to console */ void @@ -215,7 +215,7 @@ ao_beep(uint8_t beep); /* Turn on the beeper for the specified time */ void -ao_beep_for(uint8_t beep, uint16_t ticks); +ao_beep_for(uint8_t beep, uint16_t ticks) __reentrant; /* Initialize the beeper */ void @@ -243,7 +243,7 @@ ao_led_set(uint8_t colors); /* Turn on the specified LEDs for the indicated interval */ void -ao_led_for(uint8_t colors, uint16_t ticks); +ao_led_for(uint8_t colors, uint16_t ticks) __reentrant; /* Initialize the LEDs */ void |