Merge pull request #3239 from thinkyhead/rc_jbrazio_fanerr
Closes #3235. Fix dogm lcd error when FAN_PIN is defined as -1
This commit is contained in:
commit
f52f388bda
@ -304,8 +304,10 @@ static void _draw_heater_status(int x, int heater) {
|
||||
static void lcd_implementation_status_screen() {
|
||||
u8g.setColorIndex(1); // black on white
|
||||
|
||||
#if HAS_FAN0
|
||||
// Symbols menu graphics, animated fan
|
||||
u8g.drawBitmapP(9, 1, STATUS_SCREENBYTEWIDTH, STATUS_SCREENHEIGHT, (blink % 2) && fanSpeeds[0] ? status_screen0_bmp : status_screen1_bmp);
|
||||
#endif
|
||||
|
||||
#if ENABLED(SDSUPPORT)
|
||||
// SD Card Symbol
|
||||
|
Loading…
Reference in New Issue
Block a user