Skip to content

Commit

Permalink
reste von 2.0.2i
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank0587 committed Feb 17, 2022
1 parent b750dbc commit f4bca9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/e3v2/jyersui/dwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2319,7 +2319,7 @@ void CrealityDWINClass::Screen_Update() {

#if HAS_ZOFFSET_ITEM
static float lastzoffset = zoffsetvalue;
if (zoffsetvalue != lastzoffset) {
if (zoffsetvalue != lastzoffset && !printing) {
lastzoffset = zoffsetvalue;
#if HAS_BED_PROBE
probe.offset.z = zoffsetvalue;
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/lcd/e3v2/jyersui/dwin_menu.cpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ void CrealityDWINClass::Menu_Item_Handler(uint8_t menu, uint8_t item, bool draw/
Draw_Checkbox(row, use_probe);
if (use_probe) {
Popup_Handler(Level);
do_z_clearance(Z_HOMING_HEIGHT);
corner_avg = 0;
#define PROBE_X_MIN _MAX(0 + corner_pos, X_MIN_POS + probe.offset.x, X_MIN_POS + PROBING_MARGIN) - probe.offset.x
#define PROBE_X_MAX _MIN((X_BED_SIZE + X_MIN_POS) - corner_pos, X_MAX_POS + probe.offset.x, X_MAX_POS - PROBING_MARGIN) - probe.offset.x
Expand Down

0 comments on commit f4bca9d

Please sign in to comment.