Reformat. Clean code.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 3 Dec 2008 16:23:18 +0000 (16:23 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 3 Dec 2008 16:23:18 +0000 (16:23 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1968 38d2e660-2303-0410-9eaa-f027e97ec537

examples/at91sam7s/at91sam7s.c

index 275af6e565faf6246d980d8d198ed674a8af9ac7..89aedcb52324f120a87c11e83b54d2acc33c1672 100644 (file)
  * \brief AT91SAM7S-EK porting test.
  */
 
+#include "cfg/cfg_ser.h"
 #include <cfg/macros.h>
+
+#include <kern/proc.h>
+
 #include <drv/timer.h>
 #include <drv/sysirq_at91.h>
-#include <kern/proc.h>
 #include <drv/ser.h>
-#include <cfg/macros.h>
+
 #include <io/arm.h>
 
 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