mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Checks for identical parameter changes
This commit is contained in:
parent
e761297003
commit
5f83c186ee
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user