From d53e47551d9ba397baf1d708f25e9568dfd79595 Mon Sep 17 00:00:00 2001 From: asterix Date: Wed, 3 Dec 2008 16:23:18 +0000 Subject: [PATCH] Reformat. Clean code. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1968 38d2e660-2303-0410-9eaa-f027e97ec537 --- examples/at91sam7s/at91sam7s.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/examples/at91sam7s/at91sam7s.c b/examples/at91sam7s/at91sam7s.c index 275af6e5..89aedcb5 100644 --- a/examples/at91sam7s/at91sam7s.c +++ b/examples/at91sam7s/at91sam7s.c @@ -37,12 +37,15 @@ * \brief AT91SAM7S-EK porting test. */ +#include "cfg/cfg_ser.h" #include + +#include + #include #include -#include #include -#include + #include Timer leds_timer; @@ -102,9 +105,9 @@ int main(void) /* turn first led on */ PIOA_CODR = 0x00000001; - timer_setSoftint(&leds_timer, (Hook)leds_toggle, 0); - timer_setDelay(&leds_timer, ms_to_ticks(100)); - timer_add(&leds_timer); + timer_setSoftint(&leds_timer, (Hook)leds_toggle, 0); + timer_setDelay(&leds_timer, ms_to_ticks(100)); + timer_add(&leds_timer); ASSERT(proc_testRun() == 0); // Main loop -- 2.25.1