mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 04:33:10 +08:00
Accelerometer: fix thermal calibration index
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user