Added PAJ7620U2 defs, set mag for ICM20948 temp

This commit is contained in:
Niklas Jensen
2025-11-27 19:30:19 +01:00
parent 19b7da85fe
commit 70eb5b916c
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -76,7 +76,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
@@ -90,7 +90,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)