aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/GPT
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-28 20:30:51 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-28 20:30:51 +0000
commita5138f8fac4b576c67e70e00453982492055ef15 (patch)
treefe7214e4b04b04477cc305e0e67bda21c5b2fcff /testhal/STM32/GPT
parent761f9f7287db259fe4a280d9ad13e2ed6eaf95a3 (diff)
downloadChibiOS-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/GPT')
-rw-r--r--testhal/STM32/GPT/main.c2
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