mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +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);
|
displayInstructions(tr("Sensor scale and bias computed successfully."), WizardModel::Success);
|
||||||
} else {
|
} else {
|
||||||
|
progressChanged(0);
|
||||||
displayInstructions(tr("Failed to calibrate! Please review the instructions and repeat."), WizardModel::Failure);
|
displayInstructions(tr("Failed to calibrate! Please review the instructions and repeat."), WizardModel::Failure);
|
||||||
}
|
}
|
||||||
// set to run again
|
// set to run again
|
||||||
|
Loading…
x
Reference in New Issue
Block a user