sensor calibration: remove param_save_default() calls

This commit is contained in:
Beat Küng
2017-04-06 11:49:03 +02:00
committed by Lorenz Meier
parent 4b18f8ea46
commit 43afb8d41e
7 changed files with 9 additions and 57 deletions
@@ -182,15 +182,6 @@ int do_airspeed_calibration(orb_advert_t *mavlink_log_pub)
goto error_return;
}
/* auto-save to EEPROM */
int save_ret = param_save_default();
if (save_ret != 0) {
warn("WARNING: auto-save of params to storage failed");
calibration_log_critical(mavlink_log_pub, CAL_ERROR_SAVE_PARAMS_MSG);
goto error_return;
}
} else {
feedback_calibration_failed(mavlink_log_pub);
goto error_return;