Bläddra i källkod

Fix manual move position display

Manual moves now correctly include the workspace offset.
Scott Lahteine 7 år sedan
förälder
incheckning
8bffb26c23
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      Marlin/src/lcd/ultralcd.cpp

+ 2
- 2
Marlin/src/lcd/ultralcd.cpp Visa fil

2964
     }
2964
     }
2965
     encoderPosition = 0;
2965
     encoderPosition = 0;
2966
     if (lcdDrawUpdate) {
2966
     if (lcdDrawUpdate) {
2967
-      const float pos = (processing_manual_move ? destination[axis] : current_position[axis]
2967
+      const float pos = NATIVE_TO_LOGICAL(processing_manual_move ? destination[axis] : current_position[axis]
2968
         #if IS_KINEMATIC
2968
         #if IS_KINEMATIC
2969
           + manual_move_offset
2969
           + manual_move_offset
2970
         #endif
2970
         #endif
2971
-      );
2971
+      , axis);
2972
       lcd_implementation_drawedit(name, move_menu_scale >= 0.1 ? ftostr41sign(pos) : ftostr43sign(pos));
2972
       lcd_implementation_drawedit(name, move_menu_scale >= 0.1 ? ftostr41sign(pos) : ftostr43sign(pos));
2973
     }
2973
     }
2974
   }
2974
   }

Laddar…
Avbryt
Spara