mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 15:28:52 +08:00
Checks for identical parameter changes
This commit is contained in:
@@ -438,7 +438,7 @@ param_set_internal(param_t param, const void *val, bool mark_saved, bool notify_
|
||||
}
|
||||
|
||||
if (user_config.store(param, new_value)) {
|
||||
params_unsaved.set(param, !mark_saved);
|
||||
params_unsaved.set(param, !mark_saved && param_changed);
|
||||
result = PX4_OK;
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user