|
|
@ -304,9 +304,11 @@ static void _draw_heater_status(int x, int heater) { |
|
|
|
static void lcd_implementation_status_screen() { |
|
|
|
u8g.setColorIndex(1); // black on white
|
|
|
|
|
|
|
|
bool blink = lcd_blink(); |
|
|
|
|
|
|
|
#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 && fanSpeeds[0] ? status_screen0_bmp : status_screen1_bmp); |
|
|
|
#endif |
|
|
|
|
|
|
|
#if ENABLED(SDSUPPORT) |
|
|
@ -375,18 +377,19 @@ static void lcd_implementation_status_screen() { |
|
|
|
#endif |
|
|
|
u8g.setColorIndex(0); // white on black
|
|
|
|
u8g.setPrintPos(2, XYZ_BASELINE); |
|
|
|
if (blink & 1) |
|
|
|
if (blink) |
|
|
|
lcd_printPGM(PSTR("X")); |
|
|
|
else { |
|
|
|
if (!axis_homed[X_AXIS]) |
|
|
|
lcd_printPGM(PSTR("?")); |
|
|
|
else |
|
|
|
else { |
|
|
|
#if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING) |
|
|
|
if (!axis_known_position[X_AXIS]) |
|
|
|
lcd_printPGM(PSTR(" ")); |
|
|
|
else |
|
|
|
#endif |
|
|
|
lcd_printPGM(PSTR("X")); |
|
|
|
} |
|
|
|
} |
|
|
|
u8g.drawPixel(8, XYZ_BASELINE - 5); |
|
|
|
u8g.drawPixel(8, XYZ_BASELINE - 3); |
|
|
@ -394,18 +397,19 @@ static void lcd_implementation_status_screen() { |
|
|
|
lcd_print(ftostr31ns(current_position[X_AXIS])); |
|
|
|
|
|
|
|
u8g.setPrintPos(43, XYZ_BASELINE); |
|
|
|
if (blink & 1) |
|
|
|
if (blink) |
|
|
|
lcd_printPGM(PSTR("Y")); |
|
|
|
else { |
|
|
|
if (!axis_homed[Y_AXIS]) |
|
|
|
lcd_printPGM(PSTR("?")); |
|
|
|
else |
|
|
|
else { |
|
|
|
#if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING) |
|
|
|
if (!axis_known_position[Y_AXIS]) |
|
|
|
lcd_printPGM(PSTR(" ")); |
|
|
|
else |
|
|
|
#endif |
|
|
|
lcd_printPGM(PSTR("Y")); |
|
|
|
} |
|
|
|
} |
|
|
|
u8g.drawPixel(49, XYZ_BASELINE - 5); |
|
|
|
u8g.drawPixel(49, XYZ_BASELINE - 3); |
|
|
@ -413,18 +417,19 @@ static void lcd_implementation_status_screen() { |
|
|
|
lcd_print(ftostr31ns(current_position[Y_AXIS])); |
|
|
|
|
|
|
|
u8g.setPrintPos(83, XYZ_BASELINE); |
|
|
|
if (blink & 1) |
|
|
|
if (blink) |
|
|
|
lcd_printPGM(PSTR("Z")); |
|
|
|
else { |
|
|
|
if (!axis_homed[Z_AXIS]) |
|
|
|
lcd_printPGM(PSTR("?")); |
|
|
|
else |
|
|
|
else { |
|
|
|
#if DISABLED(DISABLE_REDUCED_ACCURACY_WARNING) |
|
|
|
if (!axis_known_position[Z_AXIS]) |
|
|
|
lcd_printPGM(PSTR(" ")); |
|
|
|
else |
|
|
|
#endif |
|
|
|
lcd_printPGM(PSTR("Z")); |
|
|
|
} |
|
|
|
} |
|
|
|
u8g.drawPixel(89, XYZ_BASELINE - 5); |
|
|
|
u8g.drawPixel(89, XYZ_BASELINE - 3); |
|
|
|