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:
parent
df96469918
commit
dc314bf404
|
@ -1229,7 +1229,7 @@ void MachineObject::parse_state_changed_event()
|
||||||
{
|
{
|
||||||
// parse calibration done
|
// parse calibration done
|
||||||
if (last_mc_print_stage != mc_print_stage) {
|
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;
|
calibration_done = true;
|
||||||
} else {
|
} else {
|
||||||
calibration_done = false;
|
calibration_done = false;
|
||||||
|
|
Loading…
Reference in New Issue