Browse Source

Reheat bed first

vanilla_fb_2.0.x
Scott Lahteine 3 years ago
committed by Scott Lahteine
parent
commit
6320928795
  1. 6
      Marlin/src/lcd/dwin/e3v2/dwin.cpp

6
Marlin/src/lcd/dwin/e3v2/dwin.cpp

@ -2127,12 +2127,12 @@ void HMI_Printing() {
char cmd[40];
cmd[0] = '\0';
#if BOTH(HAS_HOTEND, PAUSE_HEAT)
if (resume_hotend_temp) sprintf_P(&cmd[strlen(cmd)], PSTR("M109 S%i\n"), resume_hotend_temp);
#endif
#if BOTH(HAS_HEATED_BED, PAUSE_HEAT)
if (resume_bed_temp) sprintf_P(cmd, PSTR("M190 S%i\n"), resume_bed_temp);
#endif
#if BOTH(HAS_HOTEND, PAUSE_HEAT)
if (resume_hotend_temp) sprintf_P(&cmd[strlen(cmd)], PSTR("M109 S%i\n"), resume_hotend_temp);
#endif
strcat_P(cmd, M24_STR);
queue.inject(cmd);

Loading…
Cancel
Save