AP_InertialSensor: fixed example build

This commit is contained in:
Andrew Tridgell 2014-05-16 21:23:49 +10:00
parent a19015ed61
commit 8533aecf18

View File

@ -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