Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit f187125

Browse files
robbycandrathinkyhead
authored andcommitted
🔧 DWIN_MARLINUI sanity checks (MarlinFirmware#23399)
1 parent 71d209b commit f187125

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Marlin/src/inc/SanityCheck.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
824824
#error "LCD_PROGRESS_BAR requires SDSUPPORT or LCD_SET_PROGRESS_MANUALLY."
825825
#elif NONE(HAS_MARLINUI_HD44780, IS_TFTGLCD_PANEL)
826826
#error "LCD_PROGRESS_BAR only applies to HD44780 character LCD and TFTGLCD_PANEL_(SPI|I2C)."
827-
#elif HAS_MARLINUI_U8GLIB
827+
#elif HAS_MARLINUI_U8GLIB || IS_DWIN_MARLINUI
828828
#error "LCD_PROGRESS_BAR does not apply to graphical displays."
829829
#elif ENABLED(FILAMENT_LCD_DISPLAY)
830830
#error "LCD_PROGRESS_BAR and FILAMENT_LCD_DISPLAY are not fully compatible. Comment out this line to use both."
@@ -3682,7 +3682,7 @@ static_assert(_PLUS_TEST(4), "HOMING_FEEDRATE_MM_M values must be positive.");
36823682
#error "COOLANT_FLOOD requires COOLANT_FLOOD_PIN to be defined."
36833683
#endif
36843684

3685-
#if NONE(HAS_MARLINUI_U8GLIB, EXTENSIBLE_UI) && ENABLED(PRINT_PROGRESS_SHOW_DECIMALS)
3685+
#if NONE(HAS_MARLINUI_U8GLIB, EXTENSIBLE_UI, IS_DWIN_MARLINUI) && ENABLED(PRINT_PROGRESS_SHOW_DECIMALS)
36863686
#error "PRINT_PROGRESS_SHOW_DECIMALS currently requires a Graphical LCD."
36873687
#endif
36883688

0 commit comments

Comments
 (0)