This commit is contained in:
3djc
2020-02-06 14:52:35 +01:00
committed by GitHub
parent 40d57a8853
commit c7b7efbe16
4 changed files with 3 additions and 3 deletions
@@ -117,7 +117,6 @@ void telemetryPortInvertedInit(uint32_t baudrate)
rxBitCount = 0;
// configure bit sample timer
RCC->APB2ENR |= RCC_APB2ENR_TIM11EN;
TELEMETRY_TIMER->PSC = (PERI2_FREQUENCY * TIMER_MULT_APB2) / 2000000 - 1; // 0.5uS
TELEMETRY_TIMER->CCER = 0;
TELEMETRY_TIMER->CCMR1 = 0;