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
/
lpc
/
ao_led_lpc.c
diff --git
a/src/lpc/ao_led_lpc.c
b/src/lpc/ao_led_lpc.c
index 2d2c3972defaaeacbf6fd286173c5c6fc0f55d99..5fc726c079c50939e4848615165975a8b8777307 100644
(file)
--- a/
src/lpc/ao_led_lpc.c
+++ b/
src/lpc/ao_led_lpc.c
@@
-18,7
+18,7
@@
#include <ao.h>
#include <ao.h>
-
__pdata
AO_PORT_TYPE ao_led_enable;
+AO_PORT_TYPE ao_led_enable;
void
ao_led_on(AO_PORT_TYPE colors)
void
ao_led_on(AO_PORT_TYPE colors)
@@
-49,7
+49,7
@@
ao_led_toggle(AO_PORT_TYPE colors)
}
void
}
void
-ao_led_for(AO_PORT_TYPE colors, uint16_t ticks)
__reentrant
+ao_led_for(AO_PORT_TYPE colors, uint16_t ticks)
{
ao_led_on(colors);
ao_delay(ticks);
{
ao_led_on(colors);
ao_delay(ticks);