From 62720d5a3bf579efa7afc81e7e7ec974fb182b7e Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 21 Oct 2017 19:11:49 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10868 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM32/RT-STM32F746G-DISCOVERY/main.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'demos/STM32') diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c index 5e87cdd5a..5f257e98b 100644 --- a/demos/STM32/RT-STM32F746G-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F746G-DISCOVERY/main.c @@ -30,9 +30,9 @@ static THD_FUNCTION(Thread1, arg) { chRegSetThreadName("blinker"); while (true) { palSetLine(LINE_ARD_D13); - chThdSleepMilliseconds(1000); + chThdSleepMilliseconds(500); palClearLine(LINE_ARD_D13); - chThdSleepMilliseconds(1000); + chThdSleepMilliseconds(500); } } @@ -53,7 +53,8 @@ int main(void) { /* * ARD_D13 is programmed as output (board LED). - */ palClearLine(LINE_ARD_D13); + */ + palClearLine(LINE_ARD_D13); palSetLineMode(LINE_ARD_D13, PAL_MODE_OUTPUT_PUSHPULL); /* @@ -75,6 +76,6 @@ int main(void) { test_execute((BaseSequentialStream *)&SD1, &rt_test_suite); test_execute((BaseSequentialStream *)&SD1, &oslib_test_suite); } - chThdSleepMilliseconds(2000); + chThdSleepMilliseconds(500); } } -- cgit v1.2.3