Merge pull request #3037 from martinbudden/bf_cli_fix

Fix to fixedwing_althold_reversed in CLI
This commit is contained in:
Nathan 2017-05-06 08:46:19 -07:00 committed by GitHub
commit fed63c29ae
1 changed files with 2 additions and 0 deletions

View File

@ -509,7 +509,9 @@ const clivalue_t valueTable[] = {
#endif #endif
// PG_AIRPLANE_CONFIG // PG_AIRPLANE_CONFIG
#if defined(BARO) || defined(SONAR)
{ "fixedwing_althold_reversed", VAR_INT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_AIRPLANE_CONFIG, offsetof(airplaneConfig_t, fixedwing_althold_reversed) }, { "fixedwing_althold_reversed", VAR_INT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_AIRPLANE_CONFIG, offsetof(airplaneConfig_t, fixedwing_althold_reversed) },
#endif
// PG_RC_CONTROLS_CONFIG // PG_RC_CONTROLS_CONFIG
{ "alt_hold_deadband", VAR_UINT8 | MASTER_VALUE, .config.minmax = { 1, 250 }, PG_RC_CONTROLS_CONFIG, offsetof(rcControlsConfig_t, alt_hold_deadband) }, { "alt_hold_deadband", VAR_UINT8 | MASTER_VALUE, .config.minmax = { 1, 250 }, PG_RC_CONTROLS_CONFIG, offsetof(rcControlsConfig_t, alt_hold_deadband) },