Skip to content

Commit aaf34fa

Browse files
committed
🩹 Fix M593 report
1 parent 2cad442 commit aaf34fa

File tree

1 file changed

+3
-2
lines changed
  • Marlin/src/gcode/feature/input_shaping

1 file changed

+3
-2
lines changed

Marlin/src/gcode/feature/input_shaping/M593.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,14 @@
3030
void GcodeSuite::M593_report(const bool forReplay/*=true*/) {
3131
report_heading_etc(forReplay, F("Input Shaping"));
3232
#if HAS_SHAPING_X
33-
SERIAL_ECHO_MSG("M593 X"
33+
SERIAL_ECHOLNPGM(" M593 X"
3434
" F", stepper.get_shaping_frequency(X_AXIS),
3535
" D", stepper.get_shaping_damping_ratio(X_AXIS)
3636
);
3737
#endif
3838
#if HAS_SHAPING_Y
39-
SERIAL_ECHO_MSG("M593 Y"
39+
TERN_(HAS_SHAPING_X, report_echo_start(forReplay));
40+
SERIAL_ECHOLNPGM(" M593 Y"
4041
" F", stepper.get_shaping_frequency(Y_AXIS),
4142
" D", stepper.get_shaping_damping_ratio(Y_AXIS)
4243
);

0 commit comments

Comments
 (0)