G-code queue singleton, front injection (#14236)

This commit is contained in:
Scott Lahteine
2019-06-19 00:00:19 -05:00
committed by GitHub
parent 75aeb41ab7
commit 4c872a01f2
32 changed files with 337 additions and 356 deletions

View File

@ -101,7 +101,7 @@ void menu_backlash();
// Set the home offset based on the current_position
//
void _lcd_set_home_offsets() {
enqueue_and_echo_commands_P(PSTR("M428"));
queue.inject_P(PSTR("M428"));
ui.return_to_status();
}
#endif
@ -255,7 +255,7 @@ void menu_backlash();
autotune_temp[e]
#endif
);
lcd_enqueue_command(cmd);
lcd_enqueue_one_now(cmd);
}
#endif // PID_AUTOTUNE_MENU