diff --git a/src/systemcmds/param/param.c b/src/systemcmds/param/param.c index 75065121f2..b3203c6cc8 100644 --- a/src/systemcmds/param/param.c +++ b/src/systemcmds/param/param.c @@ -566,15 +566,7 @@ do_set(const char *name, const char *val, bool fail_on_not_found) return 1; } - int ret = param_save_default(); - - if (ret) { - PX4_ERR("Param save failed (%i)", ret); - return 1; - - } else { - return 0; - } + return 0; } static int @@ -662,13 +654,6 @@ do_reset(const char *excludes[], int num_excludes) param_reset_all(); } - int ret = param_save_default(); - - if (ret) { - PX4_ERR("Param save failed (%i)", ret); - return 1; - } - return 0; } @@ -691,13 +676,5 @@ do_reset_nostart(const char *excludes[], int num_excludes) (void)param_set(param_find("SYS_AUTOSTART"), &autostart); (void)param_set(param_find("SYS_AUTOCONFIG"), &autoconfig); - int ret = param_save_default(); - - if (ret) { - PX4_ERR("Param save failed (%i)", ret); - return 1; - - } - return 0; }