瀏覽代碼

Clean up sanity check for LCD_PROGRESS_BAR

Scott Lahteine 8 年之前
父節點
當前提交
3236762e07
共有 1 個檔案被更改,包括 2 行新增4 行删除
  1. 2
    4
      Marlin/SanityCheck.h

+ 2
- 4
Marlin/SanityCheck.h 查看文件

@@ -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…
取消
儲存