From 56ddd29f1a822d3c4dba326671a49287e32de0e1 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 22 Jun 2016 16:03:01 +0200 Subject: [PATCH] Commander: Update params on last step of mag cal --- src/modules/commander/mag_calibration.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/modules/commander/mag_calibration.cpp b/src/modules/commander/mag_calibration.cpp index dfaf1d9766..8f589fb2c7 100644 --- a/src/modules/commander/mag_calibration.cpp +++ b/src/modules/commander/mag_calibration.cpp @@ -661,8 +661,6 @@ calibrate_return mag_calibrate_all(orb_advert_t *mavlink_log_pub) if (result == calibrate_return_ok) { - (void)param_set_no_notification(param_find("CAL_MAG_PRIME"), &(device_id_primary)); - for (unsigned cur_mag=0; cur_mag