1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00

Fixed order of rx spi protocols in rx_spi_protocol_e to retain msp compatibility

This commit is contained in:
phobos- 2019-01-09 17:54:43 +01:00
parent ec083dfa9e
commit 5e3024ff57
2 changed files with 3 additions and 3 deletions

View file

@ -228,12 +228,12 @@ static const char * const lookupTableRxSpi[] = {
"INAV", "INAV",
"FRSKY_D", "FRSKY_D",
"FRSKY_X", "FRSKY_X",
"FRSKY_X_LBT",
"FLYSKY", "FLYSKY",
"FLYSKY_2A", "FLYSKY_2A",
"KN", "KN",
"SFHSS", "SFHSS",
"SPEKTRUM" "SPEKTRUM",
"FRSKY_X_LBT"
}; };
#endif #endif

View file

@ -36,12 +36,12 @@ typedef enum {
RX_SPI_NRF24_INAV, RX_SPI_NRF24_INAV,
RX_SPI_FRSKY_D, RX_SPI_FRSKY_D,
RX_SPI_FRSKY_X, RX_SPI_FRSKY_X,
RX_SPI_FRSKY_X_LBT,
RX_SPI_A7105_FLYSKY, RX_SPI_A7105_FLYSKY,
RX_SPI_A7105_FLYSKY_2A, RX_SPI_A7105_FLYSKY_2A,
RX_SPI_NRF24_KN, RX_SPI_NRF24_KN,
RX_SPI_SFHSS, RX_SPI_SFHSS,
RX_SPI_CYRF6936_DSM, RX_SPI_CYRF6936_DSM,
RX_SPI_FRSKY_X_LBT,
RX_SPI_PROTOCOL_COUNT RX_SPI_PROTOCOL_COUNT
} rx_spi_protocol_e; } rx_spi_protocol_e;