AP_Baro: don't include vehicle specific baro by default

This commit is contained in:
Pierre Kancir 2017-12-21 18:02:20 +01:00 committed by Francisco Ferreira
parent d1201e4776
commit 14b5c8a6c4
3 changed files with 8 additions and 4 deletions

View File

@ -35,8 +35,12 @@
#include "AP_Baro_KellerLD.h"
#include "AP_Baro_MS5611.h"
#include "AP_Baro_LPS25H.h"
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_QFLIGHT
#include "AP_Baro_qflight.h"
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_QURT
#include "AP_Baro_QURT.h"
#endif
#if HAL_WITH_UAVCAN
#include "AP_Baro_UAVCAN.h"
#endif

View File

@ -12,12 +12,12 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "AP_Baro_QURT.h"
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_QURT
#include "AP_Baro_QURT.h"
#include <AP_Common/AP_Common.h>
extern const AP_HAL::HAL &hal;

View File

@ -1,9 +1,9 @@
#pragma once
#include "AP_Baro_Backend.h"
#include <AP_HAL_QURT/Semaphores.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_QURT
#include <AP_HAL_QURT/Semaphores.h>
extern "C" {
#include "bmp280_api.h"
}