|
@@ -8487,13 +8487,10 @@ void prepare_move_to_destination() {
|
8487
|
8487
|
void handle_status_leds(void) {
|
8488
|
8488
|
if (ELAPSED(millis(), next_status_led_update_ms)) {
|
8489
|
8489
|
next_status_led_update_ms += 500; // Update every 0.5s
|
8490
|
|
- float max_temp =
|
8491
|
|
- #if HAS_TEMP_BED
|
8492
|
|
- MAX3(max_temp, thermalManager.degTargetBed(), thermalManager.degBed())
|
8493
|
|
- #else
|
8494
|
|
- 0.0
|
8495
|
|
- #endif
|
8496
|
|
- ;
|
|
8490
|
+ float max_temp = 0.0;
|
|
8491
|
+ #if HAS_TEMP_BED
|
|
8492
|
+ max_temp = MAX3(max_temp, thermalManager.degTargetBed(), thermalManager.degBed());
|
|
8493
|
+ #endif
|
8497
|
8494
|
HOTEND_LOOP() {
|
8498
|
8495
|
max_temp = MAX3(max_temp, thermalManager.degHotend(e), thermalManager.degTargetHotend(e));
|
8499
|
8496
|
}
|