Browse Source

🐛 Followup to F() in config_line

Followup to 1dafd1887e
Scott Lahteine 3 years ago
parent
commit
e52c30d43a
1 changed files with 9 additions and 9 deletions
  1. 9
    9
      Marlin/src/gcode/host/M360.cpp

+ 9
- 9
Marlin/src/gcode/host/M360.cpp View File

93
   //
93
   //
94
   #if HAS_CLASSIC_JERK
94
   #if HAS_CLASSIC_JERK
95
     if (planner.max_jerk.x == planner.max_jerk.y)
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
     else {
97
     else {
98
       config_line(X_STR, planner.max_jerk.x, JERK_STR);
98
       config_line(X_STR, planner.max_jerk.x, JERK_STR);
99
       config_line(Y_STR, planner.max_jerk.y, JERK_STR);
99
       config_line(Y_STR, planner.max_jerk.y, JERK_STR);
110
     PGMSTR(UNRET_STR, "RetractionUndo");
110
     PGMSTR(UNRET_STR, "RetractionUndo");
111
     PGMSTR(SPEED_STR, "Speed");
111
     PGMSTR(SPEED_STR, "Speed");
112
     // M10 Retract with swap (long) moves
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
     // M11 Recover (undo) with swap (long) moves
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
   #endif
122
   #endif
123
 
123
 
124
   //
124
   //

Loading…
Cancel
Save