From 4e0d810fffe57d0a9f92d9a3d3bfaf03a9da869c Mon Sep 17 00:00:00 2001 From: Martin Budden Date: Sat, 6 May 2017 16:02:17 +0100 Subject: [PATCH] Fix to fixedwing_althold_reversed in CLI --- src/main/fc/settings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/fc/settings.c b/src/main/fc/settings.c index 0f6d92d355..4ce9005f98 100644 --- a/src/main/fc/settings.c +++ b/src/main/fc/settings.c @@ -509,7 +509,9 @@ const clivalue_t valueTable[] = { #endif // 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) }, +#endif // 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) },