diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_LSM9DS0.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_LSM9DS0.cpp index 2d7a70d88e..51a0d505ca 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_LSM9DS0.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_LSM9DS0.cpp @@ -20,7 +20,7 @@ #if CONFIG_HAL_BOARD == HAL_BOARD_LINUX #include "AP_InertialSensor_LSM9DS0.h" - #include "../AP_HAL_Linux/GPIO.h" + #include extern const AP_HAL::HAL& hal; diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp index 3361c43da2..3b5428e26b 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp @@ -12,7 +12,7 @@ extern const AP_HAL::HAL& hal; #define MPU6000_DRDY_PIN 70 #elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX #if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLE || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_PXF -#include "../AP_HAL_Linux/GPIO.h" +#include #define MPU6000_DRDY_PIN BBB_P8_14 #endif #endif diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp index 34d760a594..01c69a1cac 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp @@ -20,7 +20,7 @@ #if CONFIG_HAL_BOARD == HAL_BOARD_LINUX #include "AP_InertialSensor_MPU9250.h" -#include "../AP_HAL_Linux/GPIO.h" +#include extern const AP_HAL::HAL& hal;