From 814597ae9f7578f51681cf29316cef4a22af7029 Mon Sep 17 00:00:00 2001 From: mikeller Date: Sat, 21 Oct 2017 13:15:43 +1300 Subject: [PATCH] Enabled gyro slew filter for gyros using the MPU6500 driver (needed for ICM20608G). --- src/main/sensors/gyro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/sensors/gyro.c b/src/main/sensors/gyro.c index ccbf38abd1..1b98a41316 100644 --- a/src/main/sensors/gyro.c +++ b/src/main/sensors/gyro.c @@ -70,7 +70,7 @@ #include "hardware_revision.h" #endif -#if ((FLASH_SIZE > 128) && (defined(USE_GYRO_SPI_ICM20601) || defined(USE_GYRO_SPI_ICM20689))) +#if ((FLASH_SIZE > 128) && (defined(USE_GYRO_SPI_ICM20601) || defined(USE_GYRO_SPI_ICM20689) || defined(USE_GYRO_SPI_MPU6500))) #define USE_GYRO_SLEW_LIMITER #endif