Merge pull request #2107 from thinkyhead/fix_issue_2106
Have G92 set the nozzle position on Delta and SCARA
This commit is contained in:
commit
7ff18f6657
1 changed files with 7 additions and 1 deletions
|
@ -2827,7 +2827,13 @@ inline void gcode_G92() {
|
||||||
didXYZ = true;
|
didXYZ = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (didXYZ) sync_plan_position();
|
if (didXYZ) {
|
||||||
|
#if defined(DELTA) || defined(SCARA)
|
||||||
|
sync_plan_position_delta();
|
||||||
|
#else
|
||||||
|
sync_plan_position();
|
||||||
|
#endif
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ULTIPANEL
|
#ifdef ULTIPANEL
|
||||||
|
|
Reference in a new issue