Ver código fonte

🩹 Fix M593 report

Scott Lahteine 1 ano atrás
pai
commit
aaf34fa96b
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3
    2
      Marlin/src/gcode/feature/input_shaping/M593.cpp

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

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

Carregando…
Cancelar
Salvar