FIX: fix bug of status for calibration finished

Change-Id: I774bbea8952340fc983162c10fca4b7ee444c725
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li authored and Lane.Wei committed 2023-02-01 16:24:44 +08:00
1 parent df96469918
commit dc314bf404
1 file changed
+1 -1
+1 -1
View File
@@ -1229,7 +1229,7 @@ void MachineObject::parse_state_changed_event()
{
// parse calibration done
if (last_mc_print_stage != mc_print_stage) {
if (mc_print_stage == 1 && boost::contains(m_gcode_file, "auto_cali_for_user.gcode")) {
if (mc_print_stage == 1 && boost::contains(m_gcode_file, "auto_cali_for_user")) {
calibration_done = true;
} else {
calibration_done = false;