Przeglądaj źródła

🩹 Fix M593 report

Scott Lahteine 2 lat temu
rodzic
commit
aaf34fa96b
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3
    2
      Marlin/src/gcode/feature/input_shaping/M593.cpp

+ 3
- 2
Marlin/src/gcode/feature/input_shaping/M593.cpp Wyświetl plik

@@ -30,13 +30,14 @@
30 30
 void GcodeSuite::M593_report(const bool forReplay/*=true*/) {
31 31
   report_heading_etc(forReplay, F("Input Shaping"));
32 32
   #if HAS_SHAPING_X
33
-    SERIAL_ECHO_MSG("M593 X"
33
+    SERIAL_ECHOLNPGM("  M593 X"
34 34
       " F", stepper.get_shaping_frequency(X_AXIS),
35 35
       " D", stepper.get_shaping_damping_ratio(X_AXIS)
36 36
     );
37 37
   #endif
38 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 41
       " F", stepper.get_shaping_frequency(Y_AXIS),
41 42
       " D", stepper.get_shaping_damping_ratio(Y_AXIS)
42 43
     );

Ładowanie…
Anuluj
Zapisz