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.
This commit is contained in:
Víctor Mayoral Vilches 2015-09-06 23:39:13 +02:00 committed by Andrew Tridgell
parent 728921f7c5
commit 6d762f62b3
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,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 #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 <AP_HAL_Linux/GPIO.h> #include <AP_HAL_Linux/GPIO.h>
#define MPU6000_DRDY_PIN BBB_P8_14 #define MPU6000_DRDY_PIN BBB_P8_14
#endif #endif