Browse Source

Fix dogm lcd error when FAN_PIN is defined as -1

pull/1/head
João Brázio 8 years ago
committed by Scott Lahteine
parent
commit
f077c7abbf
  1. 6
      Marlin/dogm_lcd_implementation.h

6
Marlin/dogm_lcd_implementation.h

@ -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
// Symbols menu graphics, animated fan
u8g.drawBitmapP(9,1,STATUS_SCREENBYTEWIDTH,STATUS_SCREENHEIGHT, (blink % 2) && fanSpeeds[0] ? status_screen0_bmp : status_screen1_bmp);
#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…
Cancel
Save