diff --git a/src/modules/events/temperature_calibration/task.cpp b/src/modules/events/temperature_calibration/task.cpp index cd032451ca..c1eb0e069b 100644 --- a/src/modules/events/temperature_calibration/task.cpp +++ b/src/modules/events/temperature_calibration/task.cpp @@ -124,7 +124,7 @@ void TemperatureCalibration::task_main() } int32_t min_temp_rise = 24; - param_get(param_find("SYS_CAL_TEMP"), &min_temp_rise); + param_get(param_find("SYS_CAL_TDEL"), &min_temp_rise); PX4_INFO("Waiting for %i degrees difference in sensor temperature", min_temp_rise); //init calibrators diff --git a/src/modules/systemlib/system_params.c b/src/modules/systemlib/system_params.c index 10e6ffd5e4..cbd83fc665 100644 --- a/src/modules/systemlib/system_params.c +++ b/src/modules/systemlib/system_params.c @@ -212,13 +212,12 @@ PARAM_DEFINE_INT32(SYS_CAL_BARO, 0); /** * Required temperature rise during thermal calibration * - * A temperature increase greater than this value is required during calibration performed by the setting of SYS_TEMP_CAL. - * Calibration will complete for each sensor when the temperature increase above the starting temeprature exceeds SYS_TEMP_RISE. + * A temperature increase greater than this value is required during calibration. + * Calibration will complete for each sensor when the temperature increase above the starting temeprature exceeds the value set by SYS_CAL_TDEL. * If the temperature rise is insufficient, the calibration will continue indefinitely and the board will need to be repowered to exit. * * @unit deg C * @min 10 - * @max 50 * @group System */ -PARAM_DEFINE_INT32(SYS_CAL_TEMP, 24); +PARAM_DEFINE_INT32(SYS_CAL_DELT, 24);