AP_InertialSensor: fixed DRDY include for Linux

This commit is contained in:
Andrew Tridgell 2014-07-05 18:36:01 +10:00
parent 0b64d834c3
commit 3ed4f82cb0
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ extern const AP_HAL::HAL& hal;
#if CONFIG_HAL_BOARD == HAL_BOARD_APM2 #if CONFIG_HAL_BOARD == HAL_BOARD_APM2
#define MPU6000_DRDY_PIN 70 #define MPU6000_DRDY_PIN 70
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX || CONFIG_HAL_BOARD == HAL_BOARD_ERLE #elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX || CONFIG_HAL_BOARD == HAL_BOARD_ERLE
#include "../AP_HAL_Linux/GPIO.h"
#define MPU6000_DRDY_PIN BBB_P8_14 #define MPU6000_DRDY_PIN BBB_P8_14
#endif #endif