Ver código fonte

Clean up sanity check for LCD_PROGRESS_BAR

Scott Lahteine 8 anos atrás
pai
commit
3236762e07
1 arquivos alterados com 2 adições e 4 exclusões
  1. 2
    4
      Marlin/SanityCheck.h

+ 2
- 4
Marlin/SanityCheck.h Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar