Browse Source

🔧 DWIN_MARLINUI sanity checks (#23399)

Robby Candra 3 years ago
parent
commit
ead693b1a4
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/inc/SanityCheck.h

+ 2
- 2
Marlin/src/inc/SanityCheck.h View File

824
     #error "LCD_PROGRESS_BAR requires SDSUPPORT or LCD_SET_PROGRESS_MANUALLY."
824
     #error "LCD_PROGRESS_BAR requires SDSUPPORT or LCD_SET_PROGRESS_MANUALLY."
825
   #elif NONE(HAS_MARLINUI_HD44780, IS_TFTGLCD_PANEL)
825
   #elif NONE(HAS_MARLINUI_HD44780, IS_TFTGLCD_PANEL)
826
     #error "LCD_PROGRESS_BAR only applies to HD44780 character LCD and TFTGLCD_PANEL_(SPI|I2C)."
826
     #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
828
     #error "LCD_PROGRESS_BAR does not apply to graphical displays."
828
     #error "LCD_PROGRESS_BAR does not apply to graphical displays."
829
   #elif ENABLED(FILAMENT_LCD_DISPLAY)
829
   #elif ENABLED(FILAMENT_LCD_DISPLAY)
830
     #error "LCD_PROGRESS_BAR and FILAMENT_LCD_DISPLAY are not fully compatible. Comment out this line to use both."
830
     #error "LCD_PROGRESS_BAR and FILAMENT_LCD_DISPLAY are not fully compatible. Comment out this line to use both."
3695
   #error "COOLANT_FLOOD requires COOLANT_FLOOD_PIN to be defined."
3695
   #error "COOLANT_FLOOD requires COOLANT_FLOOD_PIN to be defined."
3696
 #endif
3696
 #endif
3697
 
3697
 
3698
-#if NONE(HAS_MARLINUI_U8GLIB, EXTENSIBLE_UI) && ENABLED(PRINT_PROGRESS_SHOW_DECIMALS)
3698
+#if NONE(HAS_MARLINUI_U8GLIB, EXTENSIBLE_UI, IS_DWIN_MARLINUI) && ENABLED(PRINT_PROGRESS_SHOW_DECIMALS)
3699
   #error "PRINT_PROGRESS_SHOW_DECIMALS currently requires a Graphical LCD."
3699
   #error "PRINT_PROGRESS_SHOW_DECIMALS currently requires a Graphical LCD."
3700
 #endif
3700
 #endif
3701
 
3701
 

Loading…
Cancel
Save