Skip to content

Commit 17778d1

Browse files
committed
Fix M916-918 subcommands
1 parent be69ec5 commit 17778d1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Marlin/src/gcode/feature/L6470/M916-918.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ void GcodeSuite::M916() {
106106

107107
// turn the motor(s) both directions
108108
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);
110110

111111
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);
113113

114114
// get the status after the motors have stopped
115115
planner.synchronize();
@@ -226,10 +226,10 @@ void GcodeSuite::M917() {
226226
DEBUG_ECHOLNPAIR(" OCD threshold : ", (ocd_th_val + 1) * 375);
227227

228228
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);
230230

231231
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);
233233

234234
planner.synchronize();
235235

@@ -518,10 +518,10 @@ void GcodeSuite::M918() {
518518
DEBUG_ECHOLNPAIR("...feedrate = ", current_feedrate);
519519

520520
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);
522522

523523
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);
525525

526526
planner.synchronize();
527527

0 commit comments

Comments
 (0)