mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
fixed barometer detection on APM2
This commit is contained in:
parent
f5e439554d
commit
d076fb54b5
@ -161,7 +161,7 @@ static AP_Int8 *flight_modes = &g.flight_mode1;
|
||||
#else
|
||||
|
||||
#if CONFIG_BARO == AP_BARO_BMP085
|
||||
# if CONFIG_HARDWARE == CONFIG_HARDWARE_APM2
|
||||
# if CONFIG_APM_HARDWARE == CONFIG_HARDWARE_APM2
|
||||
AP_Baro_BMP085 barometer(true);
|
||||
# else
|
||||
AP_Baro_BMP085 barometer(false);
|
||||
|
Loading…
Reference in New Issue
Block a user