Merge pull request #5577 from manianac/RCBugFix-M600Dryrun
Allow M600 when dryrun debugging
This commit is contained in:
commit
71378f72af
|
@ -7267,7 +7267,7 @@ inline void gcode_M503() {
|
||||||
*/
|
*/
|
||||||
inline void gcode_M600() {
|
inline void gcode_M600() {
|
||||||
|
|
||||||
if (thermalManager.tooColdToExtrude(active_extruder)) {
|
if (!DEBUGGING(DRYRUN) && thermalManager.tooColdToExtrude(active_extruder)) {
|
||||||
SERIAL_ERROR_START;
|
SERIAL_ERROR_START;
|
||||||
SERIAL_ERRORLNPGM(MSG_TOO_COLD_FOR_M600);
|
SERIAL_ERRORLNPGM(MSG_TOO_COLD_FOR_M600);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -829,7 +829,7 @@ void kill_screen(const char* lcd_msg) {
|
||||||
|
|
||||||
#if ENABLED(FILAMENT_CHANGE_FEATURE)
|
#if ENABLED(FILAMENT_CHANGE_FEATURE)
|
||||||
void lcd_enqueue_filament_change() {
|
void lcd_enqueue_filament_change() {
|
||||||
if (thermalManager.tooColdToExtrude(active_extruder)) {
|
if (!DEBUGGING(DRYRUN) && thermalManager.tooColdToExtrude(active_extruder)) {
|
||||||
lcd_save_previous_screen();
|
lcd_save_previous_screen();
|
||||||
lcd_goto_screen(lcd_filament_change_toocold_menu);
|
lcd_goto_screen(lcd_filament_change_toocold_menu);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue