temperature_compensation: use const for reference

This commit is contained in:
Beat Küng
2017-01-30 13:30:48 +01:00
committed by Lorenz Meier
parent 7d8ce9ab9c
commit 4f6e379e50
2 changed files with 2 additions and 2 deletions
@@ -285,7 +285,7 @@ bool TemperatureCompensation::calc_thermal_offsets_1D(SensorCalData1D &coef, flo
}
bool TemperatureCompensation::calc_thermal_offsets_3D(SensorCalData3D &coef, float measured_temp, float offset[])
bool TemperatureCompensation::calc_thermal_offsets_3D(const SensorCalData3D &coef, float measured_temp, float offset[])
{
bool ret = true;
@@ -243,7 +243,7 @@ private:
Boolean true if the measured temperature is inside the valid range for the compensation
*/
bool calc_thermal_offsets_3D(SensorCalData3D &coef, float measured_temp, float offset[]);
bool calc_thermal_offsets_3D(const SensorCalData3D &coef, float measured_temp, float offset[]);
Parameters _parameters;