Fix no-bed compile error
This commit is contained in:
parent
b420fdaa87
commit
ad7a6e10a7
@ -284,7 +284,7 @@ void menu_temperature() {
|
|||||||
//
|
//
|
||||||
bool has_heat = false;
|
bool has_heat = false;
|
||||||
HOTEND_LOOP() if (thermalManager.temp_hotend[HOTEND_INDEX].target) { has_heat = true; break; }
|
HOTEND_LOOP() if (thermalManager.temp_hotend[HOTEND_INDEX].target) { has_heat = true; break; }
|
||||||
#if HAS_TEMP_BED
|
#if HAS_HEATED_BED
|
||||||
if (thermalManager.temp_bed.target) has_heat = true;
|
if (thermalManager.temp_bed.target) has_heat = true;
|
||||||
#endif
|
#endif
|
||||||
if (has_heat) ACTION_ITEM(MSG_COOLDOWN, lcd_cooldown);
|
if (has_heat) ACTION_ITEM(MSG_COOLDOWN, lcd_cooldown);
|
||||||
|
Loading…
Reference in New Issue
Block a user