Explorar el Código

🩹 Fix M593 report

Scott Lahteine hace 1 año
padre
commit
aaf34fa96b
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      Marlin/src/gcode/feature/input_shaping/M593.cpp

+ 3
- 2
Marlin/src/gcode/feature/input_shaping/M593.cpp Ver fichero

@@ -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
     );

Loading…
Cancelar
Guardar