From be4e2ca38d85319cfa5e0b3ea8849ee327e8c7a6 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 19 Sep 2011 19:27:22 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3355 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32F1xx/GPT/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testhal') diff --git a/testhal/STM32F1xx/GPT/main.c b/testhal/STM32F1xx/GPT/main.c index e3e0797f8..01bd86452 100644 --- a/testhal/STM32F1xx/GPT/main.c +++ b/testhal/STM32F1xx/GPT/main.c @@ -86,12 +86,12 @@ int main(void) { * five seconds. */ while (TRUE) { - gptStopTimer(&GPTD1); gptStartContinuous(&GPTD1, 5000); chThdSleepMilliseconds(5000); gptStopTimer(&GPTD1); gptStartContinuous(&GPTD1, 2500); chThdSleepMilliseconds(5000); + gptStopTimer(&GPTD1); } return 0; } -- cgit v1.2.3