diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-19 19:27:22 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-19 19:27:22 +0000 |
commit | be4e2ca38d85319cfa5e0b3ea8849ee327e8c7a6 (patch) | |
tree | 5e7a72b6cd96eebe4a912442f19691347dcd3a8a | |
parent | 353ee572ad1d55e06648e5ff911f421b140baea7 (diff) | |
download | ChibiOS-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
-rw-r--r-- | testhal/STM32F1xx/GPT/main.c | 2 |
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;
}
|