Explorar el Código

Clean up sanity check for LCD_PROGRESS_BAR

Scott Lahteine hace 8 años
padre
commit
3236762e07
Se han modificado 1 ficheros con 2 adiciones y 4 borrados
  1. 2
    4
      Marlin/SanityCheck.h

+ 2
- 4
Marlin/SanityCheck.h Ver fichero

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

Loading…
Cancelar
Guardar