From: Keith Packard Date: Sat, 25 Apr 2009 02:11:40 +0000 (-0700) Subject: Move ao_led_init to end of file to be consistent with other files X-Git-Tag: 0.1~21 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=6bf1d91ce0b723abe2bcec89668c13135ec044cf Move ao_led_init to end of file to be consistent with other files --- diff --git a/ao_led.c b/ao_led.c index f27714ed..f2bc179a 100644 --- 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; +}