Add HAS_HEATED_BED conditional (#10495)
This commit is contained in:
@ -37,7 +37,7 @@ void handle_status_leds(void) {
|
||||
if (ELAPSED(millis(), next_status_led_update_ms)) {
|
||||
next_status_led_update_ms += 500; // Update every 0.5s
|
||||
float max_temp = 0.0;
|
||||
#if HAS_TEMP_BED
|
||||
#if HAS_HEATED_BED
|
||||
max_temp = MAX3(max_temp, thermalManager.degTargetBed(), thermalManager.degBed());
|
||||
#endif
|
||||
HOTEND_LOOP()
|
||||
|
Reference in New Issue
Block a user