perf: Process CRSF telemetry by frame (#4038)

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
Raphael Coeffic
2023-10-19 13:31:30 +10:00
committed by GitHub
co-authored by 3djc Peter Feerick
parent eaabb2ce97
commit c93695eeaa
31 changed files with 418 additions and 169 deletions
@@ -30,7 +30,7 @@
#if defined(INTMODULE_USART)
#define INTMODULE_USART_IRQ_PRIORITY 6
#define INTMODULE_USART_IRQ_PRIORITY 5
static const stm32_usart_t intmoduleUSART = {
.USARTx = INTMODULE_USART,
@@ -223,7 +223,7 @@ extern "C" void EXTMODULE_TIMER_IRQHandler()
DEFINE_STM32_SOFTSERIAL_PORT(ExternalModule, extmoduleTimer);
#endif
#define TELEMETRY_USART_IRQ_PRIORITY 5
#define TELEMETRY_USART_IRQ_PRIORITY 0
#define TELEMETRY_DMA_IRQ_PRIORITY 0
static void _set_sport_input(uint8_t enable)