Pārlūkot izejas kodu

Fix M710 report formatting (#17356)

Marcelo Castagna 5 gadus atpakaļ
vecāks
revīzija
178ca2bcdf
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 5
    5
      Marlin/src/gcode/feature/controllerfan/M710.cpp

+ 5
- 5
Marlin/src/gcode/feature/controllerfan/M710.cpp Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt