🐛 Fix SHOW_REMAINING_TIME option for JyersUI (#22999)
This commit is contained in:
parent
9a19ea50d8
commit
de3c563a99
|
@ -1306,7 +1306,7 @@
|
||||||
|
|
||||||
// LCD Print Progress options
|
// LCD Print Progress options
|
||||||
#if EITHER(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY)
|
#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
|
//#define SHOW_REMAINING_TIME // Display estimated time to completion
|
||||||
#if ENABLED(SHOW_REMAINING_TIME)
|
#if ENABLED(SHOW_REMAINING_TIME)
|
||||||
//#define USE_M73_REMAINING_TIME // Use remaining time from M73 command instead of estimation
|
//#define USE_M73_REMAINING_TIME // Use remaining time from M73 command instead of estimation
|
||||||
|
|
|
@ -542,6 +542,10 @@
|
||||||
#define HAS_LCD_MENU 1
|
#define HAS_LCD_MENU 1
|
||||||
#endif
|
#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
|
#if HAS_MARLINUI_U8GLIB
|
||||||
#ifndef LCD_PIXEL_WIDTH
|
#ifndef LCD_PIXEL_WIDTH
|
||||||
#define LCD_PIXEL_WIDTH 128
|
#define LCD_PIXEL_WIDTH 128
|
||||||
|
|
Loading…
Reference in a new issue