🩹 Fix G60/G61 debug code (#24231)

This commit is contained in:
ellensp 2022-06-02 21:28:07 +12:00 committed by Scott Lahteine
parent deb1ba73bb
commit bed0788f72

View file

@ -48,12 +48,12 @@ void GcodeSuite::G60() {
#if ENABLED(SAVED_POSITIONS_DEBUG)
{
DEBUG_ECHOPGM(STR_SAVED_POS " S", slot);
DEBUG_ECHOPGM(STR_SAVED_POS " S", slot, " :");
const xyze_pos_t &pos = stored_position[slot];
DEBUG_ECHOLNPAIR_F_P(
DEBUG_ECHOLNPGM_P(
LIST_N(DOUBLE(LINEAR_AXES), PSTR(" : X"), pos.x, SP_Y_STR, pos.y, SP_Z_STR, pos.z, SP_I_STR, pos.i, SP_J_STR, pos.j, SP_K_STR, pos.k)
#if HAS_EXTRUDERS
, SP_E_STR, pos.e
, SP_E_LBL, pos.e
#endif
);
}