浏览代码

🐛 Followup to F() in config_line

Followup to 1dafd1887e
Scott Lahteine 3 年前
父节点
当前提交
e52c30d43a
共有 1 个文件被更改,包括 9 次插入9 次删除
  1. 9
    9
      Marlin/src/gcode/host/M360.cpp

+ 9
- 9
Marlin/src/gcode/host/M360.cpp 查看文件

@@ -93,7 +93,7 @@ void GcodeSuite::M360() {
93 93
   //
94 94
   #if HAS_CLASSIC_JERK
95 95
     if (planner.max_jerk.x == planner.max_jerk.y)
96
-      config_line(F("XY"), planner.max_jerk.x, JERK_STR);
96
+      config_line(F("XY"), planner.max_jerk.x, FPSTR(JERK_STR));
97 97
     else {
98 98
       config_line(X_STR, planner.max_jerk.x, JERK_STR);
99 99
       config_line(Y_STR, planner.max_jerk.y, JERK_STR);
@@ -110,15 +110,15 @@ void GcodeSuite::M360() {
110 110
     PGMSTR(UNRET_STR, "RetractionUndo");
111 111
     PGMSTR(SPEED_STR, "Speed");
112 112
     // M10 Retract with swap (long) moves
113
-    config_line(F("Length"),     fwretract.settings.retract_length, RET_STR);
114
-    config_line(SPEED_STR,          fwretract.settings.retract_feedrate_mm_s, RET_STR);
115
-    config_line(F("ZLift"),      fwretract.settings.retract_zraise, RET_STR);
116
-    config_line(F("LongLength"), fwretract.settings.swap_retract_length, RET_STR);
113
+    config_line(F("Length"),     fwretract.settings.retract_length, FPSTR(RET_STR));
114
+    config_line(SPEED_STR,       fwretract.settings.retract_feedrate_mm_s, RET_STR);
115
+    config_line(F("ZLift"),      fwretract.settings.retract_zraise, FPSTR(RET_STR));
116
+    config_line(F("LongLength"), fwretract.settings.swap_retract_length, FPSTR(RET_STR));
117 117
     // M11 Recover (undo) with swap (long) moves
118
-    config_line(SPEED_STR,               fwretract.settings.retract_recover_feedrate_mm_s, UNRET_STR);
119
-    config_line(F("ExtraLength"),     fwretract.settings.retract_recover_extra, UNRET_STR);
120
-    config_line(F("ExtraLongLength"), fwretract.settings.swap_retract_recover_extra, UNRET_STR);
121
-    config_line(F("LongSpeed"),       fwretract.settings.swap_retract_recover_feedrate_mm_s, UNRET_STR);
118
+    config_line(SPEED_STR,            fwretract.settings.retract_recover_feedrate_mm_s, UNRET_STR);
119
+    config_line(F("ExtraLength"),     fwretract.settings.retract_recover_extra, FPSTR(UNRET_STR));
120
+    config_line(F("ExtraLongLength"), fwretract.settings.swap_retract_recover_extra, FPSTR(UNRET_STR));
121
+    config_line(F("LongSpeed"),       fwretract.settings.swap_retract_recover_feedrate_mm_s, FPSTR(UNRET_STR));
122 122
   #endif
123 123
 
124 124
   //

正在加载...
取消
保存