1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 07:15:18 +03:00

Interrupt/DMA driven SX1280 interaction for ELRS

This commit is contained in:
Steve Evans 2022-02-02 21:05:58 +00:00
parent 7b4415f062
commit fc8640154a
39 changed files with 1003 additions and 438 deletions

View file

@ -167,7 +167,6 @@ static void taskUpdateAccelerometer(timeUs_t currentTimeUs)
typedef enum {
RX_STATE_CHECK,
RX_STATE_PROCESS,
RX_STATE_MODES,
RX_STATE_UPDATE,
RX_STATE_COUNT
@ -195,10 +194,6 @@ static void taskUpdateRxMain(timeUs_t currentTimeUs)
switch (rxState) {
default:
case RX_STATE_CHECK:
rxState = RX_STATE_PROCESS;
break;
case RX_STATE_PROCESS:
if (!processRx(currentTimeUs)) {
rxState = RX_STATE_CHECK;
break;