From 299f2565c07fad08e3fa78c705f4064d5893caa6 Mon Sep 17 00:00:00 2001 From: mikeller Date: Sun, 3 Dec 2017 12:28:18 +1300 Subject: [PATCH] Fixed condition for `fixedwing_althold_reversed`. --- src/main/interface/settings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/interface/settings.c b/src/main/interface/settings.c index 84a86e375..74e85146d 100644 --- a/src/main/interface/settings.c +++ b/src/main/interface/settings.c @@ -564,7 +564,7 @@ const clivalue_t valueTable[] = { #endif // PG_AIRPLANE_CONFIG -#if defined(USE_BARO) || defined(USE_SONAR) +#if defined(USE_ALT_HOLD) { "fixedwing_althold_reversed", VAR_INT8 | MASTER_VALUE | MODE_LOOKUP, .config.lookup = { TABLE_OFF_ON }, PG_AIRPLANE_CONFIG, offsetof(airplaneConfig_t, fixedwing_althold_reversed) }, #endif