🚚 Relocate and adjust DWIN E3V2 (#22471)

This commit is contained in:
Scott Lahteine
2021-07-31 05:32:13 -05:00
committed by GitHub
parent 332dde935d
commit 9bb5b10c0c
23 changed files with 305 additions and 268 deletions

View File

@@ -296,6 +296,17 @@ public:
#endif
#if HAS_STATUS_MESSAGE
#if HAS_WIRED_LCD
#if ENABLED(STATUS_MESSAGE_SCROLLING)
#define MAX_MESSAGE_LENGTH _MAX(LONG_FILENAME_LENGTH, MAX_LANG_CHARSIZE * 2 * (LCD_WIDTH))
#else
#define MAX_MESSAGE_LENGTH (MAX_LANG_CHARSIZE * (LCD_WIDTH))
#endif
#else
#define MAX_MESSAGE_LENGTH 63
#endif
static char status_message[];
static uint8_t alert_level; // Higher levels block lower levels