G-code queue singleton, front injection (#14236)
This commit is contained in:
1 parent
75aeb41ab7
commit
4c872a01f2
32 files changed
+337
-356
No files matched your search
@@ -650,7 +650,7 @@ void MMU2::set_filament_type(uint8_t index, uint8_t filamentType) {
|
||||
}
|
||||
|
||||
void MMU2::filament_runout() {
|
||||
enqueue_and_echo_commands_P(PSTR(MMU2_FILAMENT_RUNOUT_SCRIPT));
|
||||
queue.inject_P(PSTR(MMU2_FILAMENT_RUNOUT_SCRIPT));
|
||||
planner.synchronize();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user