E3V2 Status Area followup (#21072)

This commit is contained in:
Steven Haigh 2021-02-15 11:21:47 +11:00 committed by GitHub
parent 29fa369f71
commit e27a2a96a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1675,7 +1675,7 @@ void update_variable() {
} }
#if HAS_FAN #if HAS_FAN
if (_fanspeed != thermalManager.fan_speed[0]) { if (_new_fanspeed) {
_fanspeed = thermalManager.fan_speed[0]; _fanspeed = thermalManager.fan_speed[0];
DWIN_Draw_IntValue(true, true, 0, DWIN_FONT_STAT, Color_White, Color_Bg_Black, 3, 195 + 2 * STAT_CHR_W, 384, _fanspeed); DWIN_Draw_IntValue(true, true, 0, DWIN_FONT_STAT, Color_White, Color_Bg_Black, 3, 195 + 2 * STAT_CHR_W, 384, _fanspeed);
} }