AP_InertialSensor: fixed build for VRBrain

This commit is contained in:
Andrew Tridgell 2014-10-23 07:29:03 +11:00
parent 40e83ceb1f
commit aeaa3c1e04

View File

@ -4,7 +4,7 @@
#define __AP_INERTIAL_SENSOR_PX4_H__
#include <AP_HAL.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
#include <AP_Progmem.h>
#include "AP_InertialSensor.h"
@ -59,5 +59,5 @@ private:
uint8_t _accel_instance[INS_MAX_INSTANCES];
uint8_t _gyro_instance[INS_MAX_INSTANCES];
};
#endif
#endif // CONFIG_HAL_BOARD
#endif // __AP_INERTIAL_SENSOR_PX4_H__