Skip to content

Commit 2effd08

Browse files
committed
Use CAN_SHOW_REMAINING_TIME conditional
MarlinFirmware/Marlin#22999
1 parent 1ddf4c3 commit 2effd08

File tree

258 files changed

+258
-258
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

258 files changed

+258
-258
lines changed

config/default/Configuration_adv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@
13061306

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

config/examples/3DFabXYZ/Migbot/Configuration_adv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@
13061306

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

config/examples/ADIMLab/Gantry v1/Configuration_adv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@
13061306

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

config/examples/ADIMLab/Gantry v2/Configuration_adv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@
13061306

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

config/examples/Alfawise/U20-bltouch/Configuration_adv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@
13151315

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

config/examples/Alfawise/U20/Configuration_adv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@
13061306

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

config/examples/AliExpress/UM2pExt/Configuration_adv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@
13061306

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

config/examples/Anet/A2/Configuration_adv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@
13061306

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

config/examples/Anet/A2plus/Configuration_adv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@
13061306

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

config/examples/Anet/A6/Configuration_adv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@
13061306

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

0 commit comments

Comments
 (0)