[Taranis X9E] PLL fix

This commit is contained in:
bsongis
2015-03-04 18:24:46 +01:00
parent 67e6490136
commit b0cc60ccb2
2 changed files with 4 additions and 4 deletions
@@ -47,10 +47,6 @@ bool dacIdle = true;
void setSampleRate(uint32_t frequency)
{
#if defined(REV9E)
frequency *= 2;
#endif
register uint32_t timer = (PERI1_FREQUENCY * TIMER_MULT_APB1) / frequency - 1 ; // MCK/8 and 100 000 Hz
TIM6->CR1 &= ~TIM_CR1_CEN ;