From 07e2167996ee37e1973d433724daa384b220aab7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 7 Feb 2019 08:10:08 +1100 Subject: [PATCH] AP_InertialSensor: setup for fmuv6 --- libraries/AP_InertialSensor/AP_InertialSensor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.cpp b/libraries/AP_InertialSensor/AP_InertialSensor.cpp index 10d213e9c7..e1b2d5dd03 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor.cpp @@ -743,6 +743,7 @@ AP_InertialSensor::detect_backends(void) break; case AP_BoardConfig::PX4_BOARD_FMUV5: + case AP_BoardConfig::PX4_BOARD_FMUV6: _fast_sampling_mask.set_default(1); ADD_BACKEND(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device("icm20689"), ROTATION_NONE)); ADD_BACKEND(AP_InertialSensor_Invensense::probe(*this, hal.spi->get_device("icm20602"), ROTATION_NONE));