🐛 Fix STATUS_COMBINE_HEATERS compile (#22405)

This commit is contained in:
ellensp 2021-07-21 07:44:15 +12:00 committed by Scott Lahteine
parent 0e9eb5f6ce
commit 8283f1577a

View File

@ -264,6 +264,8 @@ FORCE_INLINE void _draw_centered_temp(const celsius_t temp, const uint8_t tx, co
#define HOTEND_BITMAP(N,S) status_hotend_a_bmp
#endif
#if DISABLED(STATUS_COMBINE_HEATERS)
if (PAGE_CONTAINS(STATUS_HEATERS_Y, STATUS_HEATERS_BOT)) {
#define BAR_TALL (STATUS_HEATERS_HEIGHT - 2)
@ -288,6 +290,8 @@ FORCE_INLINE void _draw_centered_temp(const celsius_t temp, const uint8_t tx, co
} // PAGE_CONTAINS
#endif // !STATUS_COMBINE_HEATERS
if (PAGE_UNDER(7)) {
#if HEATER_IDLE_HANDLER
const bool dodraw = (blink || !thermalManager.heater_idle[heater_id].timed_out);