Ability to insert G-code in front of queue (#14229)

This commit is contained in:
Robby Candra
2019-06-08 17:23:53 +07:00
committed by Scott Lahteine
parent 293018f76c
commit 5ca8d51e12
4 changed files with 71 additions and 11 deletions

View File

@@ -1398,7 +1398,7 @@ void MarlinUI::update() {
#if HAS_SPI_LCD
lcd_pause_show_message(PAUSE_MESSAGE_PAUSING, PAUSE_MODE_PAUSE_PRINT); // Show message immediately to let user know about pause in progress
#endif
enqueue_and_echo_commands_P(PSTR("M25 P\nM24"));
enqueue_and_echo_commands_front_P(PSTR("M25 P\nM24"));
#elif ENABLED(SDSUPPORT)
enqueue_and_echo_commands_P(PSTR("M25"));
#elif defined(ACTION_ON_PAUSE)