Skip to content
Snippets Groups Projects
Commit 1be639ec authored by Beat Küng's avatar Beat Küng Committed by Lorenz Meier
Browse files

temperature_calibration: turn off param autosave

parent 43afb8d4
No related branches found
No related tags found
No related merge requests found
......@@ -275,6 +275,9 @@ void TemperatureCalibration::task_main()
} else {
PX4_INFO("Sensor Measurments completed");
// save params immediately so that we can check the result and don't have to wait for param save timeout
param_control_autosave(false);
// do final calculations & parameter storage
for (int i = 0; i < num_calibrators; ++i) {
int ret = calibrators[i]->finish();
......@@ -291,6 +294,8 @@ void TemperatureCalibration::task_main()
PX4_ERR("Failed to save params (%i)", ret);
}
param_control_autosave(true);
led_control.color = led_control_s::COLOR_GREEN;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment