Browse Source

🩹 Fix M593 report

Scott Lahteine 2 years ago
parent
commit
aaf34fa96b
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      Marlin/src/gcode/feature/input_shaping/M593.cpp

+ 3
- 2
Marlin/src/gcode/feature/input_shaping/M593.cpp View File

30
 void GcodeSuite::M593_report(const bool forReplay/*=true*/) {
30
 void GcodeSuite::M593_report(const bool forReplay/*=true*/) {
31
   report_heading_etc(forReplay, F("Input Shaping"));
31
   report_heading_etc(forReplay, F("Input Shaping"));
32
   #if HAS_SHAPING_X
32
   #if HAS_SHAPING_X
33
-    SERIAL_ECHO_MSG("M593 X"
33
+    SERIAL_ECHOLNPGM("  M593 X"
34
       " F", stepper.get_shaping_frequency(X_AXIS),
34
       " F", stepper.get_shaping_frequency(X_AXIS),
35
       " D", stepper.get_shaping_damping_ratio(X_AXIS)
35
       " D", stepper.get_shaping_damping_ratio(X_AXIS)
36
     );
36
     );
37
   #endif
37
   #endif
38
   #if HAS_SHAPING_Y
38
   #if HAS_SHAPING_Y
39
-    SERIAL_ECHO_MSG("M593 Y"
39
+    TERN_(HAS_SHAPING_X, report_echo_start(forReplay));
40
+    SERIAL_ECHOLNPGM("  M593 Y"
40
       " F", stepper.get_shaping_frequency(Y_AXIS),
41
       " F", stepper.get_shaping_frequency(Y_AXIS),
41
       " D", stepper.get_shaping_damping_ratio(Y_AXIS)
42
       " D", stepper.get_shaping_damping_ratio(Y_AXIS)
42
     );
43
     );

Loading…
Cancel
Save