From: asterix Date: Wed, 3 Dec 2008 16:23:18 +0000 (+0000) Subject: Reformat. Clean code. X-Git-Tag: 2.1.0~714 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=d53e47551d9ba397baf1d708f25e9568dfd79595;p=bertos.git Reformat. Clean code. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1968 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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