mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
AP_InertialSensor: fixed example build
This commit is contained in:
parent
a19015ed61
commit
8533aecf18
@ -31,6 +31,7 @@
|
||||
#include <AP_Declination.h>
|
||||
#include <AP_Notify.h>
|
||||
#include <AP_NavEKF.h>
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
|
||||
#include <drivers/drv_accel.h>
|
||||
#include <drivers/drv_hrt.h>
|
||||
@ -42,7 +43,6 @@
|
||||
|
||||
const AP_HAL::HAL& hal = AP_HAL_BOARD_DRIVER;
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
|
||||
#define NUM_ACCELS 2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user