mirror of https://github.com/ArduPilot/ardupilot
AP_InertialSensor: fixed DRDY include for Linux
This commit is contained in:
parent
0b64d834c3
commit
3ed4f82cb0
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue