Skip to content

Commit

Permalink
Fix bed-off redraw
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Aug 13, 2021
1 parent 9084d88 commit b6aa414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/e3v2/marlinui/ui_status_480x272.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ FORCE_INLINE void _draw_heater_status(const heater_id_t heater, uint16_t x, uint
const bool c_draw = tc != (isBed ? old_bed_temp : old_temp[heater]),
t_draw = tt != (isBed ? old_bed_target : old_target[heater]),
i_draw = ta != (isBed ? old_bed_on : old_on[heater]);
if (isBed) { old_bed_temp = tc; old_bed_target = tt; old_bed_on = i_draw; }
if (isBed) { old_bed_temp = tc; old_bed_target = tt; old_bed_on = ta; }
else { old_temp[heater] = tc; old_target[heater] = tt; old_on[heater] = ta; }
#elif HAS_HOTEND
const bool isBed = false;
Expand Down

0 comments on commit b6aa414

Please sign in to comment.