mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
fixed hardware config check for barometer
This commit is contained in:
parent
eaf134e47e
commit
80a0dfe862
@ -139,7 +139,7 @@ AP_Compass_HIL compass;
|
||||
#else
|
||||
|
||||
#if CONFIG_BARO == AP_BARO_BMP085
|
||||
# if CONFIG_HARDWARE == CONFIG_HARDWARE_APM2
|
||||
# if CONFIG_APM_HARDWARE == CONFIG_HARDWARE_APM2
|
||||
static AP_Baro_BMP085 barometer(true);
|
||||
# else
|
||||
static AP_Baro_BMP085 barometer(false);
|
||||
|
Loading…
Reference in New Issue
Block a user