Added support for Lemon-Rx DSMP

This commit is contained in:
Raphael Coeffic
2022-03-24 10:40:17 +01:00
committed by Raphael Coeffic
parent f09c10b49d
commit 9d5cd1876c
36 changed files with 630 additions and 392 deletions
@@ -182,6 +182,10 @@ void telemetryPortInvertedInit(uint32_t baudrate)
probeTimeFromStartBit = 3000000/baudrate;
}
#if defined(PCBX12S)
telemetryFifoMode = TELEMETRY_SERIAL_WITHOUT_DMA;
#endif
// configure bit sample timer
TELEMETRY_TIMER->PSC = (PERI2_FREQUENCY * TIMER_MULT_APB2) / 2000000 - 1; // 0.5uS
TELEMETRY_TIMER->CCER = 0;