From 366ed30eea6f25595b19a2438574c4d80d487b89 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 7 Oct 2014 12:58:29 +0000 Subject: Improved demo. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7384 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'demos/STM32') diff --git a/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c b/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c index a0388b92b..e15a570e6 100644 --- a/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c +++ b/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c @@ -62,8 +62,9 @@ int main(void) { osKernelStart(); /* In the ChibiOS/RT CMSIS RTOS implementation the main() is an - usable thread.*/ + usable thread, here we just sleep in a loop printing a message.*/ while (TRUE) { + sdWrite(&SD2, (uint8_t *)"Hello World!\r\n", 14); osDelay(500); } } -- cgit v1.2.3