projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Remove 8051 address space specifiers
[fw/altos]
/
src
/
drivers
/
ao_pca9922.c
diff --git
a/src/drivers/ao_pca9922.c
b/src/drivers/ao_pca9922.c
index 09f52a0e4968ccf362d01b17164a69cd9c0792f3..3516f03ae89a26e7e3044167c873ca2c090de630 100644
(file)
--- a/
src/drivers/ao_pca9922.c
+++ b/
src/drivers/ao_pca9922.c
@@
-23,7
+23,7
@@
#include <ao.h>
#include <ao.h>
-static
__xdata
uint8_t ao_led_state;
+static uint8_t ao_led_state;
static void
ao_led_apply(void)
static void
ao_led_apply(void)
@@
-93,7
+93,7
@@
ao_led_toggle(uint8_t colors)
}
void
}
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);
{
ao_led_on(colors);
ao_delay(ticks);