mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +03:00
Naming adjustment for USE_SERIAL_RX to USE_SERIALRX (#11992)
This commit is contained in:
parent
79a6e95635
commit
6efdc71e53
10 changed files with 14 additions and 14 deletions
|
@ -230,7 +230,7 @@ static const char * const lookupTableBlackboxSampleRate[] = {
|
|||
};
|
||||
#endif
|
||||
|
||||
#ifdef USE_SERIAL_RX
|
||||
#ifdef USE_SERIALRX
|
||||
static const char * const lookupTableSerialRX[] = {
|
||||
"SPEK1024",
|
||||
"SPEK2048",
|
||||
|
@ -549,7 +549,7 @@ const lookupTableEntry_t lookupTables[] = {
|
|||
#ifdef USE_SERVOS
|
||||
LOOKUP_TABLE_ENTRY(lookupTableGimbalMode),
|
||||
#endif
|
||||
#ifdef USE_SERIAL_RX
|
||||
#ifdef USE_SERIALRX
|
||||
LOOKUP_TABLE_ENTRY(lookupTableSerialRX),
|
||||
#endif
|
||||
#ifdef USE_RX_SPI
|
||||
|
@ -759,7 +759,7 @@ const clivalue_t valueTable[] = {
|
|||
|
||||
{ "fpv_mix_degrees", VAR_UINT8 | MASTER_VALUE, .config.minmaxUnsigned = { 0, 90 }, PG_RX_CONFIG, offsetof(rxConfig_t, fpvCamAngleDegrees) },
|
||||
{ "max_aux_channels", VAR_UINT8 | MASTER_VALUE, .config.minmaxUnsigned = { 0, MAX_AUX_CHANNEL_COUNT }, PG_RX_CONFIG, offsetof(rxConfig_t, max_aux_channel) },
|
||||
#ifdef USE_SERIAL_RX
|
||||
#ifdef USE_SERIALRX
|
||||
{ PARAM_NAME_SERIAL_RX_PROVIDER, VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_SERIAL_RX }, PG_RX_CONFIG, offsetof(rxConfig_t, serialrx_provider) },
|
||||
{ "serialrx_inverted", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_RX_CONFIG, offsetof(rxConfig_t, serialrx_inverted) },
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue