mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Baro: don't include vehicle specific baro by default
This commit is contained in:
parent
d1201e4776
commit
14b5c8a6c4
@ -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
|
||||
|
@ -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,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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user