Merge pull request #5647 from manianac/RCBugFix-PrepareMenuFix

Fix empty Prepare menu
This commit is contained in:
Scott Lahteine 2017-01-12 04:20:18 -08:00 committed by GitHub
commit f8ae0fd29f

View File

@ -1403,7 +1403,7 @@ KeepDrawing:
// Cooldown // Cooldown
// //
bool has_heat = false; bool has_heat = false;
HOTEND_LOOP() if (thermalManager.target_temperature[e]) { has_heat = true; break; } HOTEND_LOOP() if (thermalManager.target_temperature[HOTEND_INDEX]) { has_heat = true; }
#if HAS_TEMP_BED #if HAS_TEMP_BED
if (thermalManager.target_temperature_bed) has_heat = true; if (thermalManager.target_temperature_bed) has_heat = true;
#endif #endif