Skip to content

Commit b37b717

Browse files
ellenspthinkyhead
authored andcommitted
🩹 Fix G60/G61 debug code (#24231)
1 parent 08c51a4 commit b37b717

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Marlin/Configuration_adv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2179,7 +2179,7 @@
21792179
//
21802180
// G60/G61 Position Save and Return
21812181
//
2182-
//#define SAVED_POSITIONS 1 // Each saved position slot costs 12 bytes
2182+
//#define SAVED_POSITIONS 1 // Each saved position slot costs 12 bytes
21832183

21842184
//
21852185
// G2/G3 Arc Support

Marlin/src/gcode/feature/pause/G60.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ void GcodeSuite::G60() {
5050
{
5151
const xyze_pos_t &pos = stored_position[slot];
5252
DEBUG_ECHOPGM(STR_SAVED_POS " S", slot, " :");
53-
DEBUG_ECHOLNPAIR_F_P(
53+
DEBUG_ECHOLNPGM_P(
5454
LIST_N(DOUBLE(NUM_AXES),
55-
SP_Y_STR, pos.x, SP_Y_STR, pos.y, SP_Z_STR, pos.z,
56-
SP_I_STR, pos.i, SP_J_STR, pos.j, SP_K_STR, pos.k,
57-
SP_U_STR, pos.u, SP_V_STR, pos.v, SP_W_STR, pos.w
55+
SP_X_LBL, pos.x, SP_Y_LBL, pos.y, SP_Z_LBL, pos.z,
56+
SP_I_LBL, pos.i, SP_J_LBL, pos.j, SP_K_LBL, pos.k,
57+
SP_U_LBL, pos.u, SP_V_LBL, pos.v, SP_W_LBL, pos.w
5858
)
5959
#if HAS_EXTRUDERS
60-
, SP_E_STR, pos.e
60+
, SP_E_LBL, pos.e
6161
#endif
6262
);
6363
}

0 commit comments

Comments
 (0)