🎨 Apply F() to G-code subcommands
This commit is contained in:
committed by
Scott Lahteine
parent
23f10563e0
commit
59dac3a7e4
@@ -53,7 +53,7 @@ void printer_state_polling() {
|
||||
uiCfg.waitEndMoves = 0;
|
||||
planner.synchronize();
|
||||
|
||||
gcode.process_subcommands_now_P(PSTR("M25"));
|
||||
gcode.process_subcommands_now(F("M25"));
|
||||
|
||||
// save the position
|
||||
uiCfg.current_x_position_bak = current_position.x;
|
||||
@@ -93,7 +93,7 @@ void printer_state_polling() {
|
||||
sprintf_P(public_buf_m, PSTR("G1 Z%s"), dtostrf(uiCfg.current_z_position_bak, 1, 1, str_1));
|
||||
gcode.process_subcommands_now(public_buf_m);
|
||||
}
|
||||
gcode.process_subcommands_now_P(M24_STR);
|
||||
gcode.process_subcommands_now(FPSTR(M24_STR));
|
||||
uiCfg.print_state = WORKING;
|
||||
start_print_time();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user