File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed
Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 341341#define STR_X "X"
342342#define STR_Y "Y"
343343#define STR_Z "Z"
344- #define STR_I AXIS4_STR
345- #define STR_J AXIS5_STR
346- #define STR_K AXIS6_STR
347344#define STR_E "E"
348345#if IS_KINEMATIC
349346 #define STR_A "A"
471468 #define AXIS6_STR ""
472469#endif
473470
471+ #define STR_I AXIS4_STR
472+ #define STR_J AXIS5_STR
473+ #define STR_K AXIS6_STR
474+
474475#if EITHER (HAS_MARLINUI_HD44780 , IS_TFTGLCD_PANEL )
475476
476477 // Custom characters defined in the first 8 characters of the LCD
Original file line number Diff line number Diff line change @@ -217,9 +217,7 @@ void report_real_position() {
217217 xyze_pos_t npos = LOGICAL_AXIS_ARRAY (
218218 planner.get_axis_position_mm (E_AXIS),
219219 cartes.x , cartes.y , cartes.z ,
220- planner.get_axis_position_mm (I_AXIS),
221- planner.get_axis_position_mm (J_AXIS),
222- planner.get_axis_position_mm (K_AXIS)
220+ cartes.i , cartes.j , cartes.k
223221 );
224222
225223 TERN_ (HAS_POSITION_MODIFIERS, planner.unapply_modifiers (npos, true ));
@@ -266,16 +264,17 @@ void report_current_position_projected() {
266264
267265 get_cartesian_from_steppers ();
268266 const xyz_pos_t lpos = cartes.asLogical ();
269- SERIAL_ECHOPGM (
270- " X:" , lpos.x
271- #if HAS_Y_AXIS
272- , " Y:" , lpos.y
273- #endif
274- #if HAS_Z_AXIS
275- , " Z:" , lpos.z
276- #endif
267+ SERIAL_ECHOPGM_P (
268+ LIST_N (DOUBLE (LINEAR_AXES),
269+ X_LBL, lpos.x ,
270+ SP_Y_LBL, lpos.y ,
271+ SP_Z_LBL, lpos.z ,
272+ SP_I_LBL, lpos.i ,
273+ SP_J_LBL, lpos.j ,
274+ SP_K_LBL, lpos.k
275+ )
277276 #if HAS_EXTRUDERS
278- , " E: " , current_position.e
277+ , SP_E_LBL , current_position.e
279278 #endif
280279 );
281280
You can’t perform that action at this time.
0 commit comments