1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00

Added disabling of GPS_RESCUE when 3D is enabled.

This commit is contained in:
mikeller 2018-07-01 19:10:08 +12:00
parent 7936d2ec57
commit 93ab648183
8 changed files with 70 additions and 13 deletions

View file

@ -197,7 +197,11 @@ void initActiveBoxIds(void)
if (feature(FEATURE_GPS)) {
BME(BOXGPSHOME);
BME(BOXGPSHOLD);
BME(BOXGPSRESCUE);
#ifdef USE_GPS_RESCUE
if (!feature(FEATURE_3D)) {
BME(BOXGPSRESCUE);
}
#endif
BME(BOXBEEPGPSCOUNT);
}
#endif