AP_Baro: don't include I2C MS5611 on APM1 either

This commit is contained in:
Andrew Tridgell 2014-08-01 16:03:39 +10:00
parent b29f8968ce
commit 6ebff35fe2

View File

@ -6,7 +6,7 @@
#include <AP_HAL.h>
#include "AP_Baro.h"
#if CONFIG_HAL_BOARD != HAL_BOARD_APM2
#if CONFIG_HAL_BOARD != HAL_BOARD_APM2 && CONFIG_HAL_BOARD != HAL_BOARD_APM1
#define MS5611_WITH_I2C 1
#else
#define MS5611_WITH_I2C 0