Checks for identical parameter changes

This commit is contained in:
mengchaoheng 2026-01-06 22:22:40 +08:00 committed by Beat Küng
parent e761297003
commit 5f83c186ee

View File

@ -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 {