Fix no-bed compile error

This commit is contained in:
Scott Lahteine 2020-04-19 00:56:43 -05:00
parent b420fdaa87
commit ad7a6e10a7

View File

@ -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);