aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/GPT
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-19 19:27:22 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-19 19:27:22 +0000
commitbe4e2ca38d85319cfa5e0b3ea8849ee327e8c7a6 (patch)
tree5e7a72b6cd96eebe4a912442f19691347dcd3a8a /testhal/STM32F1xx/GPT
parent353ee572ad1d55e06648e5ff911f421b140baea7 (diff)
downloadChibiOS-be4e2ca38d85319cfa5e0b3ea8849ee327e8c7a6.tar.gz
ChibiOS-be4e2ca38d85319cfa5e0b3ea8849ee327e8c7a6.tar.bz2
ChibiOS-be4e2ca38d85319cfa5e0b3ea8849ee327e8c7a6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3355 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx/GPT')
-rw-r--r--testhal/STM32F1xx/GPT/main.c2
1 files changed, 1 insertions, 1 deletions
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;
}