mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 12:04:19 +00:00
Reheat bed first
This commit is contained in:
parent
662d81c801
commit
653d73ff07
@ -2127,12 +2127,12 @@ void HMI_Printing() {
|
|||||||
char cmd[40];
|
char cmd[40];
|
||||||
cmd[0] = '\0';
|
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 BOTH(HAS_HEATED_BED, PAUSE_HEAT)
|
||||||
if (resume_bed_temp) sprintf_P(cmd, PSTR("M190 S%i\n"), resume_bed_temp);
|
if (resume_bed_temp) sprintf_P(cmd, PSTR("M190 S%i\n"), resume_bed_temp);
|
||||||
#endif
|
#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);
|
strcat_P(cmd, M24_STR);
|
||||||
queue.inject(cmd);
|
queue.inject(cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user