Fixed ordering of SPI RX protocols.

This commit is contained in:
mikeller 2018-02-15 00:22:36 +13:00
parent c053ffc7f6
commit 1de60106b2
2 changed files with 4 additions and 2 deletions

View File

@ -207,7 +207,8 @@ static const char * const lookupTableRxSpi[] = {
"FRSKY_D",
"FRSKY_X",
"FLYSKY",
"FLYSKY_2A"
"FLYSKY_2A",
"KN"
};
#endif

View File

@ -19,6 +19,7 @@
#include "rx/rx.h"
// Used in MSP. Append at end.
typedef enum {
RX_SPI_NRF24_V202_250K = 0,
RX_SPI_NRF24_V202_1M,
@ -28,11 +29,11 @@ typedef enum {
RX_SPI_NRF24_CX10A,
RX_SPI_NRF24_H8_3D,
RX_SPI_NRF24_INAV,
RX_SPI_NRF24_KN,
RX_SPI_FRSKY_D,
RX_SPI_FRSKY_X,
RX_SPI_A7105_FLYSKY,
RX_SPI_A7105_FLYSKY_2A,
RX_SPI_NRF24_KN,
RX_SPI_PROTOCOL_COUNT
} rx_spi_protocol_e;