param save: Add a blocking API for param saves to be used from shell.

This commit is contained in:
Thomas Debrunner
2023-06-21 08:19:52 +02:00
committed by Beat Küng
parent 18f0311161
commit fd267fb9a5
12 changed files with 43 additions and 20 deletions
@@ -284,7 +284,7 @@ void TemperatureCalibration::task_main()
}
param_notify_changes();
int ret = param_save_default();
int ret = param_save_default(true);
if (ret != 0) {
PX4_ERR("Failed to save params (%i)", ret);