From 6bf1d91ce0b723abe2bcec89668c13135ec044cf Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 24 Apr 2009 19:11:40 -0700 Subject: [PATCH] Move ao_led_init to end of file to be consistent with other files --- ao_led.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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; +} -- 2.30.2