浏览代码

Fix M710 report formatting (#17356)

Marcelo Castagna 5 年前
父节点
当前提交
178ca2bcdf
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5
    5
      Marlin/src/gcode/feature/controllerfan/M710.cpp

+ 5
- 5
Marlin/src/gcode/feature/controllerfan/M710.cpp 查看文件

29
 
29
 
30
 void M710_report(const bool forReplay) {
30
 void M710_report(const bool forReplay) {
31
   if (!forReplay) { SERIAL_ECHOLNPGM("; Controller Fan"); SERIAL_ECHO_START(); }
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
     " ; (", (int(controllerFan.settings.active_speed) * 100) / 255, "%"
37
     " ; (", (int(controllerFan.settings.active_speed) * 100) / 255, "%"
38
     " ", (int(controllerFan.settings.idle_speed) * 100) / 255, "%)"
38
     " ", (int(controllerFan.settings.idle_speed) * 100) / 255, "%)"
39
   );
39
   );

正在加载...
取消
保存