AP_Baro: don't include vehicle specific baro by default

This commit is contained in:
Pierre Kancir authored and Francisco Ferreira committed 2017-12-27 15:13:30 +00:00
1 parent d1201e4776
commit 14b5c8a6c4
3 files changed
+8 -4

No files matched your search

+4
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
+3 -3
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;
+1 -1
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"
}