mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +03:00
Missing define to activate TABLE_VIDEO_SYSTEM (#12200)
* Missing define to activate TABLE_VIDEO_SYSTEM * USE_PWM should only be for RX (parallell RX inputs), USE_PWM_OUTPUT is for all others. * Updated gate naming so there is less confusion * Simplified. Note there maybe further occurences.
This commit is contained in:
parent
5ce7c509a1
commit
d96586d505
14 changed files with 53 additions and 45 deletions
|
@ -383,7 +383,7 @@ const char * const lookupTableRescueAltitudeMode[] = {
|
|||
};
|
||||
#endif
|
||||
|
||||
#if defined(USE_MAX7456) || defined(USE_FRSKYOSD)
|
||||
#if defined(USE_VIDEO_SYSTEM)
|
||||
static const char * const lookupTableVideoSystem[] = {
|
||||
"AUTO", "PAL", "NTSC", "HD"
|
||||
};
|
||||
|
@ -597,7 +597,7 @@ const lookupTableEntry_t lookupTables[] = {
|
|||
LOOKUP_TABLE_ENTRY(lookupTableGyro),
|
||||
#endif
|
||||
LOOKUP_TABLE_ENTRY(lookupTableThrottleLimitType),
|
||||
#if defined(USE_MAX7456) || defined(USE_FRSKYOSD)
|
||||
#if defined(USE_VIDEO_SYSTEM)
|
||||
LOOKUP_TABLE_ENTRY(lookupTableVideoSystem),
|
||||
#endif
|
||||
#if defined(USE_ITERM_RELAX)
|
||||
|
@ -655,7 +655,7 @@ const lookupTableEntry_t lookupTables[] = {
|
|||
const clivalue_t valueTable[] = {
|
||||
// PG_GYRO_CONFIG
|
||||
{ PARAM_NAME_GYRO_HARDWARE_LPF, VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_GYRO_HARDWARE_LPF }, PG_GYRO_CONFIG, offsetof(gyroConfig_t, gyro_hardware_lpf) },
|
||||
|
||||
|
||||
#if defined(USE_GYRO_SPI_ICM20649)
|
||||
{ "gyro_high_range", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_GYRO_CONFIG, offsetof(gyroConfig_t, gyro_high_fsr) },
|
||||
#endif
|
||||
|
@ -799,7 +799,7 @@ const clivalue_t valueTable[] = {
|
|||
#endif
|
||||
|
||||
// PG_PWM_CONFIG
|
||||
#if defined(USE_PWM)
|
||||
#if defined(USE_RX_PWM)
|
||||
{ "input_filtering_mode", VAR_INT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_PWM_CONFIG, offsetof(pwmConfig_t, inputFilteringMode) },
|
||||
#endif
|
||||
|
||||
|
@ -1509,7 +1509,7 @@ const clivalue_t valueTable[] = {
|
|||
#endif
|
||||
|
||||
// PG_VCD_CONFIG
|
||||
#if defined(USE_MAX7456) || defined(USE_FRSKYOSD) || defined(USE_MSP_DISPLAYPORT)
|
||||
#if defined(USE_VIDEO_SYSTEM)
|
||||
{ "vcd_video_system", VAR_UINT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_VIDEO_SYSTEM }, PG_VCD_CONFIG, offsetof(vcdProfile_t, video_system) },
|
||||
#endif
|
||||
#if defined(USE_MAX7456)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue