From 24c1ed91f9cfe2e926bed9431d5b77857f56c9cd Mon Sep 17 00:00:00 2001 From: jamming Date: Thu, 7 Nov 2024 15:21:50 +0800 Subject: [PATCH] Add spa06 and spl07 baro for Kakutef4/f7 FC --- src/main/target/KAKUTEF4/target.h | 2 ++ src/main/target/KAKUTEF7/target.h | 2 ++ src/main/target/KAKUTEF7MINIV3/target.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/main/target/KAKUTEF4/target.h b/src/main/target/KAKUTEF4/target.h index c1ce47b9e80..92cbcf13414 100644 --- a/src/main/target/KAKUTEF4/target.h +++ b/src/main/target/KAKUTEF4/target.h @@ -78,6 +78,8 @@ # define BARO_I2C_BUS BUS_I2C1 # define USE_BARO_MS5611 # define USE_BARO_BMP280 +# define USE_BARO_DPS310 +# define USE_BARO_SPL06 #else // V1 does not have I2C exposed, common_post.h will pull in USE_*_MSP # define USE_BARO # define USE_MAG diff --git a/src/main/target/KAKUTEF7/target.h b/src/main/target/KAKUTEF7/target.h index f3f4edfed40..79f9d079353 100644 --- a/src/main/target/KAKUTEF7/target.h +++ b/src/main/target/KAKUTEF7/target.h @@ -131,6 +131,8 @@ #define USE_BARO #define USE_BARO_BMP280 #define USE_BARO_MS5611 +#define USE_BARO_DPS310 +#define USE_BARO_SPL06 #define BARO_I2C_BUS BUS_I2C1 #define USE_MAG diff --git a/src/main/target/KAKUTEF7MINIV3/target.h b/src/main/target/KAKUTEF7MINIV3/target.h index bf485ebc82b..89ba7c632b5 100644 --- a/src/main/target/KAKUTEF7MINIV3/target.h +++ b/src/main/target/KAKUTEF7MINIV3/target.h @@ -117,6 +117,8 @@ #define BARO_I2C_BUS BUS_I2C1 #define USE_BARO_BMP280 #define USE_BARO_MS5611 +#define USE_BARO_DPS310 +#define USE_BARO_SPL06 /* * Mag