Browse Source

Reheat bed first

Scott Lahteine 3 years ago
parent
commit
653d73ff07
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/src/lcd/dwin/e3v2/dwin.cpp

+ 3
- 3
Marlin/src/lcd/dwin/e3v2/dwin.cpp View File

2127
           char cmd[40];
2127
           char cmd[40];
2128
           cmd[0] = '\0';
2128
           cmd[0] = '\0';
2129
 
2129
 
2130
-          #if BOTH(HAS_HOTEND, PAUSE_HEAT)
2131
-            if (resume_hotend_temp) sprintf_P(&cmd[strlen(cmd)], PSTR("M109 S%i\n"), resume_hotend_temp);
2132
-          #endif
2133
           #if BOTH(HAS_HEATED_BED, PAUSE_HEAT)
2130
           #if BOTH(HAS_HEATED_BED, PAUSE_HEAT)
2134
             if (resume_bed_temp) sprintf_P(cmd, PSTR("M190 S%i\n"), resume_bed_temp);
2131
             if (resume_bed_temp) sprintf_P(cmd, PSTR("M190 S%i\n"), resume_bed_temp);
2135
           #endif
2132
           #endif
2133
+          #if BOTH(HAS_HOTEND, PAUSE_HEAT)
2134
+            if (resume_hotend_temp) sprintf_P(&cmd[strlen(cmd)], PSTR("M109 S%i\n"), resume_hotend_temp);
2135
+          #endif
2136
 
2136
 
2137
           strcat_P(cmd, M24_STR);
2137
           strcat_P(cmd, M24_STR);
2138
           queue.inject(cmd);
2138
           queue.inject(cmd);

Loading…
Cancel
Save