Browse Source

🐛 Fix SHOW_REMAINING_TIME option for JyersUI (#22999)

vanilla_fb_2.0.x
tome9111991 3 years ago
committed by Scott Lahteine
parent
commit
e2452d6c57
  1. 2
      Marlin/Configuration_adv.h
  2. 4
      Marlin/src/inc/Conditionals_LCD.h

2
Marlin/Configuration_adv.h

@ -1306,7 +1306,7 @@
// LCD Print Progress options
#if EITHER(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY)
#if ANY(HAS_MARLINUI_U8GLIB, EXTENSIBLE_UI, HAS_MARLINUI_HD44780, IS_TFTGLCD_PANEL, IS_DWIN_MARLINUI)
#if CAN_SHOW_REMAINING_TIME
//#define SHOW_REMAINING_TIME // Display estimated time to completion
#if ENABLED(SHOW_REMAINING_TIME)
//#define USE_M73_REMAINING_TIME // Use remaining time from M73 command instead of estimation

4
Marlin/src/inc/Conditionals_LCD.h

@ -539,6 +539,10 @@
#define HAS_LCD_MENU 1
#endif
#if ANY(HAS_MARLINUI_U8GLIB, EXTENSIBLE_UI, HAS_MARLINUI_HD44780, IS_TFTGLCD_PANEL, IS_DWIN_MARLINUI, DWIN_CREALITY_LCD_JYERSUI)
#define CAN_SHOW_REMAINING_TIME 1
#endif
#if HAS_MARLINUI_U8GLIB
#ifndef LCD_PIXEL_WIDTH
#define LCD_PIXEL_WIDTH 128

Loading…
Cancel
Save