Accelerometer: fix thermal calibration index

This commit is contained in:
Beat Küng 2021-06-01 14:42:21 +02:00 committed by Daniel Agar
parent d430e13401
commit dfa5964719

View File

@ -111,7 +111,7 @@ void Accelerometer::SensorCorrectionsUpdate(bool force)
_thermal_offset = Vector3f{corrections.accel_offset_2};
return;
case 3:
_thermal_offset = Vector3f{corrections.accel_offset_2};
_thermal_offset = Vector3f{corrections.accel_offset_3};
return;
}
}