mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 07:53:33 +08:00
param save: Add a blocking API for param saves to be used from shell.
This commit is contained in:
committed by
Beat Küng
parent
18f0311161
commit
fd267fb9a5
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user