mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-24 04:29:34 +00:00
Fix dogm lcd error when FAN_PIN is defined as -1
This commit is contained in:
parent
080c85a4c9
commit
f077c7abbf
@ -304,8 +304,10 @@ static void _draw_heater_status(int x, int heater) {
|
|||||||
static void lcd_implementation_status_screen() {
|
static void lcd_implementation_status_screen() {
|
||||||
u8g.setColorIndex(1); // black on white
|
u8g.setColorIndex(1); // black on white
|
||||||
|
|
||||||
|
#if HAS_FAN0
|
||||||
// Symbols menu graphics, animated fan
|
// 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)
|
#if ENABLED(SDSUPPORT)
|
||||||
// SD Card Symbol
|
// SD Card Symbol
|
||||||
|
Loading…
Reference in New Issue
Block a user