Browse Source

Merge pull request #5647 from manianac/RCBugFix-PrepareMenuFix

Fix empty Prepare menu
Scott Lahteine 8 years ago
parent
commit
f8ae0fd29f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp View File

1403
     // Cooldown
1403
     // Cooldown
1404
     //
1404
     //
1405
     bool has_heat = false;
1405
     bool has_heat = false;
1406
-    HOTEND_LOOP() if (thermalManager.target_temperature[e]) { has_heat = true; break; }
1406
+    HOTEND_LOOP() if (thermalManager.target_temperature[HOTEND_INDEX]) { has_heat = true; }
1407
     #if HAS_TEMP_BED
1407
     #if HAS_TEMP_BED
1408
       if (thermalManager.target_temperature_bed) has_heat = true;
1408
       if (thermalManager.target_temperature_bed) has_heat = true;
1409
     #endif
1409
     #endif

Loading…
Cancel
Save