Browse Source

Fix manual move position display

Manual moves now correctly include the workspace offset.
pull/1/head
Scott Lahteine 7 years ago
parent
commit
8bffb26c23
  1. 4
      Marlin/src/lcd/ultralcd.cpp

4
Marlin/src/lcd/ultralcd.cpp

@ -2964,11 +2964,11 @@ void kill_screen(const char* lcd_msg) {
} }
encoderPosition = 0; encoderPosition = 0;
if (lcdDrawUpdate) { if (lcdDrawUpdate) {
const float pos = (processing_manual_move ? destination[axis] : current_position[axis] const float pos = NATIVE_TO_LOGICAL(processing_manual_move ? destination[axis] : current_position[axis]
#if IS_KINEMATIC #if IS_KINEMATIC
+ manual_move_offset + manual_move_offset
#endif #endif
); , axis);
lcd_implementation_drawedit(name, move_menu_scale >= 0.1 ? ftostr41sign(pos) : ftostr43sign(pos)); lcd_implementation_drawedit(name, move_menu_scale >= 0.1 ? ftostr41sign(pos) : ftostr43sign(pos));
} }
} }

Loading…
Cancel
Save