From 5e7e28a83e48769a39206134b7622739c132a0f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mayoral=20Vilches?= Date: Thu, 29 May 2014 23:08:07 +0200 Subject: [PATCH] AP_InertialSensor_MPU9250.cpp: Update the DRDY pin. --- libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp b/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp index 286e19d7b9..86c6a9589f 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor_MPU9250.cpp @@ -201,12 +201,7 @@ uint16_t AP_InertialSensor_MPU9250::_init_sensor( Sample_rate sample_rate ) _spi = hal.spi->device(AP_HAL::SPIDevice_MPU9250); _spi_sem = _spi->get_semaphore(); - - // TODO review - /* Pin 70 defined especially to hook - up PE6 to the hal.gpio abstraction. - (It is not a valid pin under Arduino.) */ - //_drdy_pin = hal.gpio->channel(70); + _drdy_pin = hal.gpio->channel(66); // BBB_P8_7 hal.scheduler->suspend_timer_procs();