From 16e5fb50ddc72a294c7eb173622d0ec2961210cc Mon Sep 17 00:00:00 2001 From: Robert Pelnar Date: Tue, 18 Dec 2018 20:39:38 +0100 Subject: [PATCH] Remove M601 from queue before saving state (prevent infinite loop - PFW713) --- Firmware/Marlin_main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 27d729d1..fa5a1028 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -6518,6 +6518,7 @@ if((eSoundMode==e_SOUND_MODE_LOUD)||(eSoundMode==e_SOUND_MODE_ONCE)) #endif //FILAMENTCHANGEENABLE case 601: //! M601 - Pause print { + cmdqueue_pop_front(); //trick because we want skip this command (M601) after restore lcd_pause_print(); } break;