Browse Source

🩹 Fix G60/G61 debug code (#24231)

FB4S_WIFI
ellensp 2 years ago
committed by Scott Lahteine
parent
commit
bed0788f72
  1. 6
      Marlin/src/gcode/feature/pause/G60.cpp

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

@ -48,12 +48,12 @@ void GcodeSuite::G60() {
#if ENABLED(SAVED_POSITIONS_DEBUG) #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]; 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) 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 #if HAS_EXTRUDERS
, SP_E_STR, pos.e , SP_E_LBL, pos.e
#endif #endif
); );
} }

Loading…
Cancel
Save