mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
OP-1351 made sure that progress bar won't show 100% when calibration failed
This commit is contained in:
parent
99444babeb
commit
b13e5548c1
@ -470,6 +470,7 @@ void SixPointCalibrationModel::compute()
|
||||
}
|
||||
displayInstructions(tr("Sensor scale and bias computed successfully."), WizardModel::Success);
|
||||
} else {
|
||||
progressChanged(0);
|
||||
displayInstructions(tr("Failed to calibrate! Please review the instructions and repeat."), WizardModel::Failure);
|
||||
}
|
||||
// set to run again
|
||||
|
Loading…
x
Reference in New Issue
Block a user