Added PAJ7620U2 defs, set mag for ICM20948 temp

This commit is contained in:
Niklas Jensen
2025-11-27 19:30:19 +01:00
parent ebbe1f9ca4
commit 326decdae3
4 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ class IMU : public SensorBase<IMUAnglesMsg> {
#if USE_ICM20948_SPIMODE > 0
_imu.begin(CS_PIN, SPI_PORT);
#else
_imu.begin(Wire, 1);
_imu.begin(Wire, 1, 0xFF);
#endif
if (_imu.status != ICM_20948_Stat_Ok){ return false; }
+1 -1
View File
@@ -77,7 +77,7 @@ class Peripherals : public StatefulService<PeripheralsConfiguration> {
#if FT_ENABLED(USE_MPU6050 || USE_BNO055 || USE_ICM20948)
IMU _imu;
#endif
#if FT_ENABLED(USE_HMC5883 || USE_ICM20948)
#if FT_ENABLED(USE_HMC5883) // TODO: Add USE_ICM20948
Magnetometer _mag;
#endif
#if FT_ENABLED(USE_BMP180)