From c11e923ad4fb9a5d391e5180fc9b04952d21eb9b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 3 Jun 2016 12:11:55 -0600 Subject: [PATCH] Fix a cut'n'paste error left from last commit. --- arch/arm/src/stm32/stm32_tim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/stm32/stm32_tim.c b/arch/arm/src/stm32/stm32_tim.c index b7015c39ce..39175a4e64 100644 --- a/arch/arm/src/stm32/stm32_tim.c +++ b/arch/arm/src/stm32/stm32_tim.c @@ -425,7 +425,7 @@ static int stm32_tim_setclock(FAR struct stm32_tim_dev_s *dev, uint32_t freq) #if defined(CONFIG_STM32_TIM16) && defined(BOARD_TIM16_FREQUENCY) case STM32_TIM16_BASE: - freqin = BOARD_TIM8_FREQUENCY; + freqin = BOARD_TIM16_FREQUENCY; break; #endif