ek-lm3s1968: kbd driver depends on the proc module now
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 3 Mar 2011 11:35:37 +0000 (11:35 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 3 Mar 2011 11:35:37 +0000 (11:35 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4744 38d2e660-2303-0410-9eaa-f027e97ec537

boards/ek-lm3s1968/templates/kernel/main.c

index 13adcb0ffcfd175cbf7ecf310c5ec6080a2987a7..677553eda3613d2941caeb501db5f4df3743b393 100644 (file)
@@ -72,6 +72,11 @@ static void init(void)
        kdbg_init();
        /* Initialize system timer */
        timer_init();
+       /*
+        * Kernel initialization: processes (allow to create and dispatch
+        * processes using proc_new()).
+        */
+       proc_init();
        /* Initialize UART1 */
        ser_init(&out, SER_UART1);
        /* Configure UART1 to work at 115.200 bps */
@@ -88,12 +93,6 @@ static void init(void)
        kbd_init();
        /* Initialize the internal flash memory */
        flash_init(&flash, 0);
-
-       /*
-        * Kernel initialization: processes (allow to create and dispatch
-        * processes using proc_new()).
-        */
-       proc_init();
 }
 
 static void NORETURN led_process(void)