Fix dogm lcd error when FAN_PIN is defined as -1
This commit is contained in:
parent
080c85a4c9
commit
f077c7abbf
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
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
|
||||
|
|
Reference in a new issue