aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c')
-rw-r--r--demos/STM32/CMSIS-STM32F407-DISCOVERY/main.c3
1 files changed, 2 insertions, 1 deletions
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);
}
}