summaryrefslogtreecommitdiff
path: root/ao_led.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-25 13:13:24 -0700
committerKeith Packard <keithp@keithp.com>2009-04-25 13:13:24 -0700
commit4a050704ad2c497e9f1b0988334228b0bbc4c170 (patch)
tree952935658f07f7fec9d2572c98712d2a2c6628f2 /ao_led.c
parent6b3d25a6d6d7847765eb03b836913dd5ecef2993 (diff)
Make some functions reentrant to save DSEG space
Diffstat (limited to 'ao_led.c')
-rw-r--r--ao_led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao_led.c b/ao_led.c
index f2bc179a..1268ff69 100644
--- a/ao_led.c
+++ b/ao_led.c
@@ -36,7 +36,7 @@ ao_led_set(uint8_t colors)
}
void
-ao_led_for(uint8_t colors, uint16_t ticks)
+ao_led_for(uint8_t colors, uint16_t ticks) __reentrant
{
ao_led_on(colors);
ao_delay(ticks);