projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altoslib: Add all known launch sites and names to map preload
[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 3a2d4c9886986b72889c50a07c0d13a0ba937cde..3747df973f2ec74f1f7f289dc2b82c1028304c01 100644
(file)
--- a/
src/lpc/ao_led_lpc.c
+++ b/
src/lpc/ao_led_lpc.c
@@
-43,13
+43,7
@@
ao_led_set(AO_PORT_TYPE colors)
}
void
-ao_led_toggle(AO_PORT_TYPE colors)
-{
- lpc_gpio.pin[LED_PORT] ^= colors;
-}
-
-void
-ao_led_for(AO_PORT_TYPE colors, uint16_t ticks)
+ao_led_for(AO_PORT_TYPE colors, AO_TICK_TYPE ticks)
{
ao_led_on(colors);
ao_delay(ticks);