From 80a0dfe862db63b684a6c80a2f14c97db065a654 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 12 Dec 2011 14:47:17 +1100 Subject: [PATCH] fixed hardware config check for barometer --- ArduPlane/ArduPlane.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/ArduPlane.pde b/ArduPlane/ArduPlane.pde index 0a4c5d88a5..b262016eb6 100644 --- a/ArduPlane/ArduPlane.pde +++ b/ArduPlane/ArduPlane.pde @@ -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);