1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Added setting of 'spi_rx_protocol' to CLI.

This commit is contained in:
Michael Keller 2017-08-15 14:28:37 +12:00 committed by mikeller
parent 53920103d8
commit 1cdbb38ac8
2 changed files with 7 additions and 2 deletions

View file

@ -183,7 +183,8 @@ static const char * const lookupTableRxSpi[] = {
"CX10",
"CX10A",
"H8_3D",
"INAV"
"INAV",
"FRSKY_D"
};
#endif
@ -371,6 +372,9 @@ const clivalue_t valueTable[] = {
#ifdef STM32F4
{ "serialrx_halfduplex", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_RX_CONFIG, offsetof(rxConfig_t, halfDuplex) },
#endif
#ifdef USE_RX_SPI
{ "rx_spi_protocol", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_RX_SPI }, PG_RX_CONFIG, offsetof(rxConfig_t, rx_spi_protocol) },
#endif
// PG_PWM_CONFIG
#if defined(USE_PWM)