if no HOTENDS

This commit is contained in:
Luu Lac 2019-10-04 16:18:18 -05:00 committed by GitHub
parent 895f64fbab
commit 5d81d7cefe
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

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