Browse Source

Fix M916-918 subcommands

Scott Lahteine 5 years ago
parent
commit
17778d1c2a
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      Marlin/src/gcode/feature/L6470/M916-918.cpp

+ 6
- 6
Marlin/src/gcode/feature/L6470/M916-918.cpp View File

@@ -106,10 +106,10 @@ void GcodeSuite::M916() {
106 106
 
107 107
     // turn the motor(s) both directions
108 108
     sprintf_P(gcode_string, PSTR("G0 %s%4.3f  F%4.3f"), temp_axis_string, position_min, final_feedrate);
109
-    process_subcommands_now_P(gcode_string);
109
+    process_subcommands_now(gcode_string);
110 110
 
111 111
     sprintf_P(gcode_string, PSTR("G0 %s%4.3f  F%4.3f"), temp_axis_string, position_max, final_feedrate);
112
-    process_subcommands_now_P(gcode_string);
112
+    process_subcommands_now(gcode_string);
113 113
 
114 114
     // get the status after the motors have stopped
115 115
     planner.synchronize();
@@ -226,10 +226,10 @@ void GcodeSuite::M917() {
226 226
     DEBUG_ECHOLNPAIR("   OCD threshold : ", (ocd_th_val + 1) * 375);
227 227
 
228 228
     sprintf_P(gcode_string, PSTR("G0 %s%4.3f  F%4.3f"), temp_axis_string, position_min, final_feedrate);
229
-    process_subcommands_now_P(gcode_string);
229
+    process_subcommands_now(gcode_string);
230 230
 
231 231
     sprintf_P(gcode_string, PSTR("G0 %s%4.3f  F%4.3f"), temp_axis_string, position_max, final_feedrate);
232
-    process_subcommands_now_P(gcode_string);
232
+    process_subcommands_now(gcode_string);
233 233
 
234 234
     planner.synchronize();
235 235
 
@@ -518,10 +518,10 @@ void GcodeSuite::M918() {
518 518
     DEBUG_ECHOLNPAIR("...feedrate = ", current_feedrate);
519 519
 
520 520
     sprintf_P(gcode_string, PSTR("G0 %s%4.3f F%4.3f"), temp_axis_string, position_min, current_feedrate);
521
-    process_subcommands_now_P(gcode_string);
521
+    process_subcommands_now(gcode_string);
522 522
 
523 523
     sprintf_P(gcode_string, PSTR("G0 %s%4.3f F%4.3f"), temp_axis_string, position_max, current_feedrate);
524
-    process_subcommands_now_P(gcode_string);
524
+    process_subcommands_now(gcode_string);
525 525
 
526 526
     planner.synchronize();
527 527
 

Loading…
Cancel
Save