From 6d762f62b300c8893e22fac56f5602e993d11c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mayoral=20Vilches?= Date: Sun, 6 Sep 2015 23:39:13 +0200 Subject: [PATCH] AP_InertialSensor: ERLEBOARD legacy support This config referred to the legacy Erle-Board https://erlerobotics.com/blog/product/erle-board/ The configuration is preserved to support the existing boards. --- libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp index 5d47d6d091..e70511b6da 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_MPU6000.cpp @@ -13,7 +13,7 @@ extern const AP_HAL::HAL& hal; #if CONFIG_HAL_BOARD == HAL_BOARD_APM2 #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 +#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_ERLEBOARD || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_PXF #include #define MPU6000_DRDY_PIN BBB_P8_14 #endif