|
|
|
@ -65,7 +65,7 @@
|
|
|
|
|
|
|
|
|
|
#define DO_DRAW_LOGO (STATUS_LOGO_WIDTH && ENABLED(CUSTOM_STATUS_SCREEN_IMAGE))
|
|
|
|
|
#define DO_DRAW_BED (HAS_HEATED_BED && STATUS_BED_WIDTH && HOTENDS <= 4)
|
|
|
|
|
#define DO_DRAW_CHAMBER (HAS_HEATED_CHAMBER && STATUS_CHAMBER_WIDTH && HOTENDS <= 4)
|
|
|
|
|
#define DO_DRAW_CHAMBER (HAS_TEMP_CHAMBER && STATUS_CHAMBER_WIDTH && HOTENDS <= 4)
|
|
|
|
|
#define DO_DRAW_FAN (HAS_FAN0 && STATUS_FAN_WIDTH && HOTENDS <= 4 && defined(STATUS_FAN_FRAMES))
|
|
|
|
|
|
|
|
|
|
#define ANIM_HOTEND (HOTENDS && ENABLED(STATUS_HOTEND_ANIM))
|
|
|
|
@ -252,12 +252,16 @@ FORCE_INLINE void _draw_heater_status(const heater_ind_t heater, const bool blin
|
|
|
|
|
const float temp = 10 + (millis() >> 8) % CHAMBER_MAXTEMP,
|
|
|
|
|
target = CHAMBER_MAXTEMP;
|
|
|
|
|
#else
|
|
|
|
|
const float temp = thermalManager.degChamber(),
|
|
|
|
|
target = thermalManager.degTargetChamber();
|
|
|
|
|
const float temp = thermalManager.degChamber();
|
|
|
|
|
#if HAS_HEATED_CHAMBER
|
|
|
|
|
const float target = thermalManager.degTargetChamber();
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if !HEATER_IDLE_HANDLER
|
|
|
|
|
UNUSED(blink);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
if (PAGE_UNDER(7)) {
|
|
|
|
|
#if HEATER_IDLE_HANDLER
|
|
|
|
|
const bool is_idle = false, // thermalManager.chamber_idle.timed_out,
|
|
|
|
@ -265,13 +269,15 @@ FORCE_INLINE void _draw_heater_status(const heater_ind_t heater, const bool blin
|
|
|
|
|
#else
|
|
|
|
|
constexpr bool dodraw = true;
|
|
|
|
|
#endif
|
|
|
|
|
if (dodraw) _draw_centered_temp(target + 0.5, STATUS_CHAMBER_TEXT_X, 7);
|
|
|
|
|
#if HAS_HEATED_CHAMBER
|
|
|
|
|
if (dodraw) _draw_centered_temp(target + 0.5, STATUS_CHAMBER_TEXT_X, 7);
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
if (PAGE_CONTAINS(28 - INFO_FONT_ASCENT, 28 - 1))
|
|
|
|
|
_draw_centered_temp(temp + 0.5f, STATUS_CHAMBER_TEXT_X, 28);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
#endif // DO_DRAW_CHAMBER
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// Before homing, blink '123' <-> '???'.
|
|
|
|
@ -324,7 +330,7 @@ void MarlinUI::draw_status_screen() {
|
|
|
|
|
#if ANIM_BED
|
|
|
|
|
if (thermalManager.isHeatingBed() ^ SHOW_ON_STATE) SBI(new_bits, 7);
|
|
|
|
|
#endif
|
|
|
|
|
#if DO_DRAW_CHAMBER
|
|
|
|
|
#if DO_DRAW_CHAMBER && HAS_HEATED_CHAMBER
|
|
|
|
|
if (thermalManager.isHeatingChamber() ^ SHOW_ON_STATE) SBI(new_bits, 6);
|
|
|
|
|
#endif
|
|
|
|
|
heat_bits = new_bits;
|
|
|
|
|