aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/GPT/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/GPT/main.c')
-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