Skip to content

Commit

Permalink
Assisted Tramming Center Position Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyers committed Aug 9, 2021
1 parent 84678cc commit 74bcde6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/e3v2/creality/creality_dwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ void CrealityDWINClass::Menu_Item_Handler(uint8_t menu, uint8_t item, bool draw/
Popup_Handler(MoveWait);
if (use_probe) {
#if HAS_BED_PROBE
sprintf_P(cmd, PSTR("G0 F4000\nG0 Z10\nG0 X%s Y%s"), dtostrf(X_MAX_POS/2.0f - probe.offset.x, 1, 3, str_1), dtostrf(Y_MAX_POS/2.0f - probe.offset.y, 1, 3, str_2));
sprintf_P(cmd, PSTR("G0 F4000\nG0 Z10\nG0 X%s Y%s"), dtostrf((X_BED_SIZE + X_MIN_POS)/2.0f - probe.offset.x, 1, 3, str_1), dtostrf((Y_BED_SIZE + Y_MIN_POS)/2.0f - probe.offset.y, 1, 3, str_2));
gcode.process_subcommands_now_P(cmd);
planner.synchronize();
Popup_Handler(ManualProbing);
Expand Down

0 comments on commit 74bcde6

Please sign in to comment.