Remove error causing break command
Use index macro instead of e
This commit is contained in:
1 parent
fe2ea2906f
commit
aab5118c6a
1 file changed
+1
-1
+1
-1
@@ -1403,7 +1403,7 @@ KeepDrawing:
|
||||
// Cooldown
|
||||
//
|
||||
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 (thermalManager.target_temperature_bed) has_heat = true;
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user