projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move ao_led_init to end of file to be consistent with other files
[fw/altos]
/
ao_led.c
diff --git
a/ao_led.c
b/ao_led.c
index f27714ed73a6a9a838075c3e900d8d9886ea3db0..f2bc179adfc21663a10d62f984ee5a7f25baeccd 100644
(file)
--- a/
ao_led.c
+++ b/
ao_led.c
@@
-17,14
+17,6
@@
#include "ao.h"
-void
-ao_led_init(void)
-{
- P1SEL &= ~3;
- P1 &= ~3;
- P1DIR |= 3;
-}
-
void
ao_led_on(uint8_t colors)
{
@@
-51,3
+43,10
@@
ao_led_for(uint8_t colors, uint16_t ticks)
ao_led_off(colors);
}
+void
+ao_led_init(void)
+{
+ P1SEL &= ~3;
+ P1 &= ~3;
+ P1DIR |= 3;
+}