Revert commit.
[bertos.git] / boards / ek-lm3s1968 / templates / empty / main.c
index b6df37c952141834db6aa524e93acf24548b8688..e4895270e651c312cc1797b8c946eab91886c8a5 100644 (file)
  * supported board and proposes an empty main.
  */
 
+#include "hw/hw_led.h"
+
 #include <cfg/debug.h>
+
 #include <cpu/irq.h>
-#include <hw/hw_led.h>
+
 #include <drv/timer.h>
 #include <drv/ser.h>
 #include <drv/lcd_rit128x96.h>
@@ -65,8 +68,8 @@ static void init(void)
        kdbg_init();
        /* Initialize system timer */
        timer_init();
-       /* Initialize UART0 */
-       ser_init(&out, SER_UART0);
+       /* Initialize UART1 */
+       ser_init(&out, SER_UART1);
        /* Configure UART0 to work at 115.200 bps */
        ser_setbaudrate(&out, 115200);
        /* Initialize LED driver */
@@ -80,7 +83,7 @@ static void init(void)
        /* Initialize the keypad driver */
        kbd_init();
        /* Initialize the internal flash memory */
-        flash_init(&flash);
+       flash_init(&flash, 0);
 }
 
 int main(void)