🎨 Move G28O inside ProUI
This commit is contained in:
parent
cfbd8a2e36
commit
6bf789d93f
|
@ -70,9 +70,7 @@ void GcodeSuite::G30() {
|
|||
|
||||
remember_feedrate_scaling_off();
|
||||
|
||||
#if EITHER(DWIN_LCD_PROUI, DWIN_CREALITY_LCD_JYERSUI)
|
||||
process_subcommands_now(F("G28O"));
|
||||
#endif
|
||||
TERN_(DWIN_CREALITY_LCD_JYERSUI, process_subcommands_now(F("G28O")));
|
||||
|
||||
const ProbePtRaise raise_after = parser.boolval('E', true) ? PROBE_PT_STOW : PROBE_PT_NONE;
|
||||
|
||||
|
|
|
@ -183,7 +183,7 @@ void BedLevelToolsClass::MoveToZ() {
|
|||
}
|
||||
void BedLevelToolsClass::ProbeXY() {
|
||||
const uint16_t Clear = Z_CLEARANCE_DEPLOY_PROBE;
|
||||
sprintf_P(cmd, PSTR("G0Z%i\nG30X%sY%s"),
|
||||
sprintf_P(cmd, PSTR("G28O\nG0Z%i\nG30X%sY%s"),
|
||||
Clear,
|
||||
dtostrf(bedlevel.get_mesh_x(bedLevelTools.mesh_x), 1, 2, str_1),
|
||||
dtostrf(bedlevel.get_mesh_y(bedLevelTools.mesh_y), 1, 2, str_2)
|
||||
|
|
Loading…
Reference in a new issue