mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-07-24 15:27:41 +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:
@@ -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