Added ICM20948 support

This commit is contained in:
Niklas Jensen
2025-11-27 16:34:24 +01:00
parent 7c3dd2d15b
commit 1f1fb421e9
7 changed files with 75 additions and 5 deletions
+2 -2
View File
@@ -87,10 +87,10 @@ class Peripherals : public StatefulService<PeripheralsConfiguration> {
JsonDocument doc;
char message[MAX_ESP_IMU_SIZE];
#if FT_ENABLED(USE_MPU6050 || USE_BNO055)
#if FT_ENABLED(USE_MPU6050 || USE_BNO055 || USE_ICM20948)
IMU _imu;
#endif
#if FT_ENABLED(USE_HMC5883)
#if FT_ENABLED(USE_HMC5883 || USE_ICM20948)
Magnetometer _mag;
#endif
#if FT_ENABLED(USE_BMP180)