mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-29 11:40:28 +08:00
docs(temperature_compensation): fix calulate typo in thermal offset comments (#27895)
Comment-only: calulate → calculate for calc_thermal_offsets helpers.
This commit is contained in:
1 parent
06dc5d0b5f
commit
99e406373d
1 file changed
+2
-2
@@ -322,7 +322,7 @@ bool TemperatureCompensation::calc_thermal_offsets_1D(SensorCalData1D &coef, flo
|
||||
|
||||
}
|
||||
|
||||
// calulate the offset
|
||||
// calculate the offset
|
||||
float temp_var = delta_temp;
|
||||
offset = coef.x0 + coef.x1 * temp_var;
|
||||
temp_var *= delta_temp;
|
||||
@@ -358,7 +358,7 @@ bool TemperatureCompensation::calc_thermal_offsets_3D(const SensorCalData3D &coe
|
||||
|
||||
}
|
||||
|
||||
// calulate the offsets
|
||||
// calculate the offsets
|
||||
float delta_temp_2 = delta_temp * delta_temp;
|
||||
float delta_temp_3 = delta_temp_2 * delta_temp;
|
||||
|
||||
|
||||
Reference in new issue
Block a user