Browse Source

Clean up sanity check for LCD_PROGRESS_BAR

Scott Lahteine 8 years ago
parent
commit
3236762e07
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      Marlin/SanityCheck.h

+ 2
- 4
Marlin/SanityCheck.h View File

@@ -181,11 +181,9 @@
181 181
 #if ENABLED(LCD_PROGRESS_BAR)
182 182
   #if DISABLED(SDSUPPORT)
183 183
     #error "LCD_PROGRESS_BAR requires SDSUPPORT."
184
-  #endif
185
-  #if ENABLED(DOGLCD)
184
+  #elif ENABLED(DOGLCD)
186 185
     #error "LCD_PROGRESS_BAR does not apply to graphical displays."
187
-  #endif
188
-  #if ENABLED(FILAMENT_LCD_DISPLAY)
186
+  #elif ENABLED(FILAMENT_LCD_DISPLAY)
189 187
     #error "LCD_PROGRESS_BAR and FILAMENT_LCD_DISPLAY are not fully compatible. Comment out this line to use both."
190 188
   #endif
191 189
 #endif

Loading…
Cancel
Save