Plane: fixes for AP_Baro_HIL

This commit is contained in:
Andrew Tridgell 2013-05-02 15:09:27 +10:00
parent 55da049c69
commit 3cd52a9689

View File

@ -156,7 +156,7 @@ static AP_Baro_BMP085 barometer;
#elif CONFIG_BARO == AP_BARO_PX4
static AP_Baro_PX4 barometer;
#elif CONFIG_BARO == AP_BARO_HIL
static AP_Baro_BMP085_HIL barometer;
static AP_Baro_HIL barometer;
#elif CONFIG_BARO == AP_BARO_MS5611
#if CONFIG_MS5611_SERIAL == AP_BARO_MS5611_SPI
static AP_Baro_MS5611 barometer(&AP_Baro_MS5611::spi);