Skip to content

Commit

Permalink
core: frontend: compass calibration: do not cleanup on error
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani authored and patrickelectric committed May 3, 2024
1 parent 370810d commit d00ed8a
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -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)
Expand Down

0 comments on commit d00ed8a

Please sign in to comment.