Browse Source

fixed barometer detection on APM2

master
Andrew Tridgell 13 years ago
parent
commit
d076fb54b5
  1. 2
      ArduCopter/ArduCopter.pde

2
ArduCopter/ArduCopter.pde

@ -161,7 +161,7 @@ static AP_Int8 *flight_modes = &g.flight_mode1;
#else #else
#if CONFIG_BARO == AP_BARO_BMP085 #if CONFIG_BARO == AP_BARO_BMP085
# if CONFIG_HARDWARE == CONFIG_HARDWARE_APM2 # if CONFIG_APM_HARDWARE == CONFIG_HARDWARE_APM2
AP_Baro_BMP085 barometer(true); AP_Baro_BMP085 barometer(true);
# else # else
AP_Baro_BMP085 barometer(false); AP_Baro_BMP085 barometer(false);

Loading…
Cancel
Save