aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-19 12:09:16 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-19 12:09:16 +0000
commit79f641c928cc438ab41df0eab6850355f07edd1d (patch)
tree7cf4baaa03893aa918cfb313da535b4d71d66fcc /testhal
parent22d8fa4450d5563d3ff1134a9f007b73c977ff9a (diff)
downloadChibiOS-79f641c928cc438ab41df0eab6850355f07edd1d.tar.gz
ChibiOS-79f641c928cc438ab41df0eab6850355f07edd1d.tar.bz2
ChibiOS-79f641c928cc438ab41df0eab6850355f07edd1d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3349 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32L1xx/GPT/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32L1xx/GPT/main.c b/testhal/STM32L1xx/GPT/main.c
index 49247bac6..4fadc4f9c 100644
--- a/testhal/STM32L1xx/GPT/main.c
+++ b/testhal/STM32L1xx/GPT/main.c
@@ -87,12 +87,12 @@ int main(void) {
*/
while (TRUE) {
palSetPad(GPIOB, GPIOB_LED3);
- gptStopTimer(&GPTD2);
gptStartContinuous(&GPTD2, 5000);
chThdSleepMilliseconds(5000);
- palClearPad(GPIOB, GPIOB_LED3);
gptStopTimer(&GPTD2);
+ palClearPad(GPIOB, GPIOB_LED3);
gptStartContinuous(&GPTD2, 2500);
chThdSleepMilliseconds(5000);
+ gptStopTimer(&GPTD2);
}
}