1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Merge pull request #6318 from fujin/remove-bme-for-baro-gpshold-gpshome

Remove MSP BOX BME entries for baro, gps home, gps hold
This commit is contained in:
Michael Keller 2018-07-19 00:11:05 +12:00 committed by GitHub
commit 7d56929ffa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,12 +181,6 @@ void initActiveBoxIds(void)
BME(BOXHEADADJ);
}
#ifdef USE_BARO
if (sensors(SENSOR_BARO)) {
BME(BOXBARO);
}
#endif
#ifdef USE_MAG
if (sensors(SENSOR_MAG)) {
BME(BOXMAG);
@ -195,8 +189,6 @@ void initActiveBoxIds(void)
#ifdef USE_GPS
if (feature(FEATURE_GPS)) {
BME(BOXGPSHOME);
BME(BOXGPSHOLD);
#ifdef USE_GPS_RESCUE
if (!feature(FEATURE_3D)) {
BME(BOXGPSRESCUE);