fixed hardware config check for barometer

This commit is contained in:
Andrew Tridgell 2011-12-12 14:47:17 +11:00
parent eaf134e47e
commit 80a0dfe862
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ AP_Compass_HIL compass;
#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
static AP_Baro_BMP085 barometer(true); static AP_Baro_BMP085 barometer(true);
# else # else
static AP_Baro_BMP085 barometer(false); static AP_Baro_BMP085 barometer(false);