Add HAS_HEATED_BED conditional (#10494)

This commit is contained in:
Scott Lahteine
2018-04-22 23:40:49 -05:00
committed by GitHub
parent 6b50a50676
commit b19d8182c1
12 changed files with 304 additions and 264 deletions

View File

@@ -481,7 +481,7 @@
*/
inline bool turn_on_heaters() {
millis_t next = millis() + 5000UL;
#if HAS_TEMP_BED
#if HAS_HEATED_BED
#if ENABLED(ULTRA_LCD)
if (g26_bed_temp > 25) {
lcd_setstatusPGM(PSTR("G26 Heating Bed."), 99);
@@ -841,7 +841,7 @@
#endif
if (!g26_keep_heaters_on) {
#if HAS_TEMP_BED
#if HAS_HEATED_BED
thermalManager.setTargetBed(0);
#endif
thermalManager.setTargetHotend(0, 0);