From d076fb54b5060b688eb450dade774743095eb3a0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 12 Dec 2011 15:45:36 +1100 Subject: [PATCH] fixed barometer detection on APM2 --- ArduCopter/ArduCopter.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index 341f92f88e..1619845fd5 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -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);