Skip to content

Commit

Permalink
Fix #185 (6050 does not work when the first IMU is BNO085 and the sec…
Browse files Browse the repository at this point in the history
…ond IMU is 6050) (#186)
  • Loading branch information
Kamilake authored Aug 8, 2022
1 parent 509622b commit b87df5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sensors/SensorManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ namespace SlimeVR
m_Sensor2 = new MPU9250Sensor(1, secondIMUAddress, SECOND_IMU_ROTATION);
#elif SECOND_IMU == IMU_BMI160
m_Sensor2 = new BMI160Sensor(1, secondIMUAddress, SECOND_IMU_ROTATION);
#elif SECOND_IMU == IMU_MPU6500 || IMU == IMU_MPU6050
#elif SECOND_IMU == IMU_MPU6500 || SECOND_IMU == IMU_MPU6050
m_Sensor2 = new MPU6050Sensor(1, IMU, secondIMUAddress, SECOND_IMU_ROTATION);
#elif SECOND_IMU == IMU_ICM20948
m_Sensor2 = new ICM20948Sensor(1, secondIMUAddress, SECOND_IMU_ROTATION);
Expand Down

0 comments on commit b87df5f

Please sign in to comment.