From d00ed8acdd26f0841627fa8112e9089225659eae Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Thu, 2 May 2024 17:36:22 -0300 Subject: [PATCH] core: frontend: compass calibration: do not cleanup on error --- .../vehiclesetup/configuration/compass/FullCompassCalibrator.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/core/frontend/src/components/vehiclesetup/configuration/compass/FullCompassCalibrator.vue b/core/frontend/src/components/vehiclesetup/configuration/compass/FullCompassCalibrator.vue index 36109e996..4bbec1ec9 100644 --- a/core/frontend/src/components/vehiclesetup/configuration/compass/FullCompassCalibrator.vue +++ b/core/frontend/src/components/vehiclesetup/configuration/compass/FullCompassCalibrator.vue @@ -190,7 +190,6 @@ export default { this.status_text = `Calibration failed: ${reason}` this.status_type = 'error' this.state = states.FAILED - this.cleanup() }, async cancelCalibration() { mavlink2rest.sendCommandLong(MavCmd.MAV_CMD_DO_CANCEL_MAG_CAL)