From 5bf45a2fae8d6d4a76d0cac442f10d000a7df136 Mon Sep 17 00:00:00 2001 From: Mark Haslinghuis Date: Thu, 14 Mar 2024 23:26:55 +0100 Subject: [PATCH] Fix missing gyro defines for USE_SPI_GYRO (#13449) --- src/main/target/common_post.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/target/common_post.h b/src/main/target/common_post.h index 83a78c197..1d335136c 100644 --- a/src/main/target/common_post.h +++ b/src/main/target/common_post.h @@ -416,7 +416,9 @@ #endif #endif -#if defined(USE_GYRO_SPI_ICM20689) || defined(USE_GYRO_SPI_MPU6000) || defined(USE_GYRO_SPI_MPU6500) || defined(USE_GYRO_SPI_MPU9250) || defined(USE_GYRO_L3GD20) || defined(USE_GYRO_SPI_ICM42605) || defined(USE_GYRO_SPI_ICM42688P) || defined(USE_ACCGYRO_BMI160) || defined(USE_ACCGYRO_BMI270) +#if defined(USE_GYRO_SPI_ICM20689) || defined(USE_GYRO_SPI_MPU6000) || defined(USE_GYRO_SPI_MPU6500) || defined(USE_GYRO_SPI_MPU9250) \ + || defined(USE_GYRO_L3GD20) || defined(USE_GYRO_SPI_ICM42605) || defined(USE_GYRO_SPI_ICM42688P) || defined(USE_ACCGYRO_BMI160) \ + || defined(USE_ACCGYRO_BMI270) || defined(USE_ACCGYRO_LSM6DSV16X) || defined(USE_ACCGYRO_LSM6DSO) #ifndef USE_SPI_GYRO #define USE_SPI_GYRO #endif -- 2.11.4.GIT