Update lm3s templates.
[bertos.git] / boards / ek-lm3s1968 / templates / kernel / main.c
index d0e88d53a62bae3b6eec3d8f1ac6ccefee4f4093..31408ec35dbee6f33fe399108c2696f6c9fae2eb 100644 (file)
@@ -72,9 +72,9 @@ static void init(void)
        kdbg_init();
        /* Initialize system timer */
        timer_init();
-       /* Initialize UART0 */
-       ser_init(&out, SER_UART0);
-       /* Configure UART0 to work at 115.200 bps */
+       /* Initialize UART1 */
+       ser_init(&out, SER_UART1);
+       /* Configure UART1 to work at 115.200 bps */
        ser_setbaudrate(&out, 115200);
        /* Initialize LED driver */
        LED_INIT();
@@ -87,7 +87,7 @@ static void init(void)
        /* Initialize the keypad driver */
        kbd_init();
        /* Initialize the internal flash memory */
-        flash_init(&flash);
+       flash_init(&flash, 0);
 
        /*
         * Kernel initialization: processes (allow to create and dispatch