X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fattiny%2Fao_led.c;h=885054909c5bdc02e8ce319561a94d2de2a500ce;hb=c6e57291d91f1f6c4de5c54a5cfd3eef66d9f830;hp=5f53129e1b4b92139f31dd3cfae4fe545a3553cc;hpb=6023ff81f1bbd240169b9548209133d3b02d475f;p=fw%2Faltos diff --git a/src/attiny/ao_led.c b/src/attiny/ao_led.c index 5f53129e..88505490 100644 --- a/src/attiny/ao_led.c +++ b/src/attiny/ao_led.c @@ -18,7 +18,7 @@ #include "ao.h" -__pdata uint8_t ao_led_enable; +uint8_t ao_led_enable; #define LED_PORT PORTB #define LED_DDR DDRB @@ -48,7 +48,7 @@ ao_led_toggle(uint8_t colors) } void -ao_led_for(uint8_t colors, uint16_t ticks) __reentrant +ao_led_for(uint8_t colors, uint16_t ticks) { ao_led_on(colors); ao_delay(ticks);