diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-10-21 19:11:49 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-10-21 19:11:49 +0000 |
commit | 62720d5a3bf579efa7afc81e7e7ec974fb182b7e (patch) | |
tree | d2bec66e00808e206acc79f834b6d242af41afaf | |
parent | f748c684765dc2e32f87a33201fb78f7fa58eb2a (diff) | |
download | ChibiOS-62720d5a3bf579efa7afc81e7e7ec974fb182b7e.tar.gz ChibiOS-62720d5a3bf579efa7afc81e7e7ec974fb182b7e.tar.bz2 ChibiOS-62720d5a3bf579efa7afc81e7e7ec974fb182b7e.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10868 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | demos/STM32/RT-STM32F746G-DISCOVERY/main.c | 9 |
1 files changed, 5 insertions, 4 deletions
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);
}
}
|