Browse Source

🐛 Fix STATUS_COMBINE_HEATERS compile (#22405)

vanilla_fb_2.0.x
ellensp 3 years ago
committed by Scott Lahteine
parent
commit
8283f1577a
  1. 4
      Marlin/src/lcd/dogm/status_screen_DOGM.cpp

4
Marlin/src/lcd/dogm/status_screen_DOGM.cpp

@ -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 #define HOTEND_BITMAP(N,S) status_hotend_a_bmp
#endif #endif
#if DISABLED(STATUS_COMBINE_HEATERS)
if (PAGE_CONTAINS(STATUS_HEATERS_Y, STATUS_HEATERS_BOT)) { if (PAGE_CONTAINS(STATUS_HEATERS_Y, STATUS_HEATERS_BOT)) {
#define BAR_TALL (STATUS_HEATERS_HEIGHT - 2) #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 } // PAGE_CONTAINS
#endif // !STATUS_COMBINE_HEATERS
if (PAGE_UNDER(7)) { if (PAGE_UNDER(7)) {
#if HEATER_IDLE_HANDLER #if HEATER_IDLE_HANDLER
const bool dodraw = (blink || !thermalManager.heater_idle[heater_id].timed_out); const bool dodraw = (blink || !thermalManager.heater_idle[heater_id].timed_out);

Loading…
Cancel
Save