Move ao_led_init to end of file to be consistent with other files
authorKeith Packard <keithp@keithp.com>
Sat, 25 Apr 2009 02:11:40 +0000 (19:11 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 25 Apr 2009 02:11:40 +0000 (19:11 -0700)
ao_led.c

index f27714ed73a6a9a838075c3e900d8d9886ea3db0..f2bc179adfc21663a10d62f984ee5a7f25baeccd 100644 (file)
--- a/ao_led.c
+++ b/ao_led.c
 
 #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;
+}