diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-28 20:30:51 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-28 20:30:51 +0000 |
commit | a5138f8fac4b576c67e70e00453982492055ef15 (patch) | |
tree | fe7214e4b04b04477cc305e0e67bda21c5b2fcff /testhal/STM32 | |
parent | 761f9f7287db259fe4a280d9ad13e2ed6eaf95a3 (diff) | |
download | ChibiOS-a5138f8fac4b576c67e70e00453982492055ef15.tar.gz ChibiOS-a5138f8fac4b576c67e70e00453982492055ef15.tar.bz2 ChibiOS-a5138f8fac4b576c67e70e00453982492055ef15.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2783 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32')
-rw-r--r-- | testhal/STM32/GPT/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testhal/STM32/GPT/main.c b/testhal/STM32/GPT/main.c index 8a07efec4..636940584 100644 --- a/testhal/STM32/GPT/main.c +++ b/testhal/STM32/GPT/main.c @@ -76,7 +76,9 @@ int main(void) { * Initializes the GPT drivers 1 and 2.
*/
gptStart(&GPTD1, &gpt1cfg);
+ gptPolledDelay(&GPTD1, 10); /* Small dealy.*/
gptStart(&GPTD2, &gpt2cfg);
+ gptPolledDelay(&GPTD2, 10); /* Small dealy.*/
/*
* Normal main() thread activity, it changes the GPT1 period every
|