From e4b51ee2faffa35695ffcfbf3abf4f7f1afb94c7 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 12 Jun 2013 13:26:28 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5841 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/PPC-SPC560D-GCC/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'demos/PPC-SPC560D-GCC/main.c') diff --git a/demos/PPC-SPC560D-GCC/main.c b/demos/PPC-SPC560D-GCC/main.c index 7b2192138..b98716e94 100644 --- a/demos/PPC-SPC560D-GCC/main.c +++ b/demos/PPC-SPC560D-GCC/main.c @@ -86,6 +86,7 @@ static const ShellConfig shell_cfg1 = { (BaseSequentialStream *)&SD1, commands }; +#endif /* * LEDs blinker thread, times are in milliseconds. @@ -156,7 +157,6 @@ static msg_t Thread1(void *arg) { } return 0; } -#endif /* * Application entry point. @@ -171,18 +171,18 @@ int main(void) { * - Kernel initialization, the main() function becomes a thread and the * RTOS is active. */ -// halInit(); + halInit(); chSysInit(); /* * Activates the serial driver 1 using the driver default configuration. */ -// sdStart(&SD1, NULL); + sdStart(&SD1, NULL); /* * Creates the blinker thread. */ -// chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL); + chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL); /* * Normal main() thread activity. -- cgit v1.2.3