Browse Source

Fix M710 report formatting (#17356)

Marcelo Castagna 4 years ago
parent
commit
178ca2bcdf
No account linked to committer's email address
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      Marlin/src/gcode/feature/controllerfan/M710.cpp

+ 5
- 5
Marlin/src/gcode/feature/controllerfan/M710.cpp View File

@@ -29,11 +29,11 @@
29 29
 
30 30
 void M710_report(const bool forReplay) {
31 31
   if (!forReplay) { SERIAL_ECHOLNPGM("; Controller Fan"); SERIAL_ECHO_START(); }
32
-  SERIAL_ECHOLNPAIR("M710 "
33
-    "S", int(controllerFan.settings.active_speed),
34
-    "I", int(controllerFan.settings.idle_speed),
35
-    "A", int(controllerFan.settings.auto_mode),
36
-    "D", controllerFan.settings.duration,
32
+  SERIAL_ECHOLNPAIR("  M710"
33
+    " S", int(controllerFan.settings.active_speed),
34
+    " I", int(controllerFan.settings.idle_speed),
35
+    " A", int(controllerFan.settings.auto_mode),
36
+    " D", controllerFan.settings.duration,
37 37
     " ; (", (int(controllerFan.settings.active_speed) * 100) / 255, "%"
38 38
     " ", (int(controllerFan.settings.idle_speed) * 100) / 255, "%)"
39 39
   );

Loading…
Cancel
Save