diff options
| -rw-r--r-- | testhal/STM32L1xx/GPT/main.c | 4 | 
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);
    }
  }
 | 
