|
@@ -287,9 +287,11 @@ FORCE_INLINE void _draw_centered_temp(int temp, int x, int y) {
|
287
|
287
|
}
|
288
|
288
|
|
289
|
289
|
FORCE_INLINE void _draw_heater_status(int x, int heater) {
|
290
|
|
- bool isBed = heater < 0;
|
291
|
|
-
|
292
|
|
- lcd_setFont(FONT_STATUSMENU);
|
|
290
|
+ #if HAS_TEMP_BED
|
|
291
|
+ bool isBed = heater < 0;
|
|
292
|
+ #else
|
|
293
|
+ const bool isBed = false;
|
|
294
|
+ #endif
|
293
|
295
|
|
294
|
296
|
_draw_centered_temp((isBed ? degTargetBed() : degTargetHotend(heater)) + 0.5, x, 7);
|
295
|
297
|
|
|
@@ -351,8 +353,10 @@ static void lcd_implementation_status_screen() {
|
351
|
353
|
// Extruders
|
352
|
354
|
for (int i = 0; i < EXTRUDERS; i++) _draw_heater_status(5 + i * 25, i);
|
353
|
355
|
|
354
|
|
- // Heatbed
|
355
|
|
- if (EXTRUDERS < 4) _draw_heater_status(81, -1);
|
|
356
|
+ // Heated bed
|
|
357
|
+ #if EXTRUDERS < 4 && HAS_TEMP_BED
|
|
358
|
+ _draw_heater_status(81, -1);
|
|
359
|
+ #endif
|
356
|
360
|
|
357
|
361
|
// Fan
|
358
|
362
|
lcd_setFont(FONT_STATUSMENU);
|