diff --git a/lib/stm32/common/timer_common_all.c b/lib/stm32/common/timer_common_all.c index 6cbc4c7c..3d14ae22 100644 --- a/lib/stm32/common/timer_common_all.c +++ b/lib/stm32/common/timer_common_all.c @@ -2021,7 +2021,7 @@ void timer_ic_set_prescaler(uint32_t timer_peripheral, enum tim_ic_id ic, break; case TIM_IC3: TIM_CCMR2(timer_peripheral) &= ~TIM_CCMR2_IC3PSC_MASK; - TIM_CCMR2(timer_peripheral) |= psc << 4; + TIM_CCMR2(timer_peripheral) |= psc << 2; break; case TIM_IC4: TIM_CCMR2(timer_peripheral) &= ~TIM_CCMR2_IC4PSC_MASK;