|
@ -287,9 +287,11 @@ FORCE_INLINE void _draw_centered_temp(int temp, int x, int y) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
FORCE_INLINE void _draw_heater_status(int x, int heater) { |
|
|
FORCE_INLINE void _draw_heater_status(int x, int heater) { |
|
|
|
|
|
#if HAS_TEMP_BED |
|
|
bool isBed = heater < 0; |
|
|
bool isBed = heater < 0; |
|
|
|
|
|
#else |
|
|
lcd_setFont(FONT_STATUSMENU); |
|
|
const bool isBed = false; |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
_draw_centered_temp((isBed ? degTargetBed() : degTargetHotend(heater)) + 0.5, x, 7); |
|
|
_draw_centered_temp((isBed ? degTargetBed() : degTargetHotend(heater)) + 0.5, x, 7); |
|
|
|
|
|
|
|
@ -351,8 +353,10 @@ static void lcd_implementation_status_screen() { |
|
|
// Extruders
|
|
|
// Extruders
|
|
|
for (int i = 0; i < EXTRUDERS; i++) _draw_heater_status(5 + i * 25, i); |
|
|
for (int i = 0; i < EXTRUDERS; i++) _draw_heater_status(5 + i * 25, i); |
|
|
|
|
|
|
|
|
// Heatbed
|
|
|
// Heated bed
|
|
|
if (EXTRUDERS < 4) _draw_heater_status(81, -1); |
|
|
#if EXTRUDERS < 4 && HAS_TEMP_BED |
|
|
|
|
|
_draw_heater_status(81, -1); |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
// Fan
|
|
|
// Fan
|
|
|
lcd_setFont(FONT_STATUSMENU); |
|
|
lcd_setFont(FONT_STATUSMENU); |
|
|