Browse Source

if no HOTENDS

Luu Lac 5 years ago
parent
commit
5d81d7cefe
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/dogm/dogm_Statusscreen.h

+ 1
- 1
Marlin/src/lcd/dogm/dogm_Statusscreen.h View File

@@ -1232,7 +1232,7 @@
1232 1232
     #define _HEATERS_WIDTH (HOTENDS * (STATUS_HEATERS_XSPACE)) // as many hotends as possible
1233 1233
   #elif STATUS_HEATERS_WIDTH
1234 1234
     #define _HEATERS_WIDTH STATUS_HEATERS_WIDTH
1235
-  #else
1235
+  #elif HOTENDS
1236 1236
     #error "Status screen heaters region was not specified."
1237 1237
   #endif
1238 1238
   #if STATUS_LOGO_WIDTH > (LCD_PIXEL_WIDTH - (_EXTRA_WIDTH + _HEATERS_WIDTH))

Loading…
Cancel
Save