🔧 HAS_LCDPRINT conditional

This commit is contained in:
Scott Lahteine
2022-02-13 12:55:00 -06:00
committed by Scott Lahteine
parent 5f0e1a15df
commit 341113bcfb
3 changed files with 7 additions and 3 deletions

View File

@ -539,6 +539,10 @@
#define HAS_DISPLAY 1
#endif
#if HAS_WIRED_LCD && !HAS_GRAPHICAL_TFT && !IS_DWIN_MARLINUI
#define HAS_LCDPRINT 1
#endif
#if ANY(HAS_DISPLAY, HAS_DWIN_E3V2, GLOBAL_STATUS_MESSAGE)
#define HAS_STATUS_MESSAGE 1
#endif

View File

@ -26,7 +26,7 @@
#include "../inc/MarlinConfigPre.h"
#if HAS_WIRED_LCD && !HAS_GRAPHICAL_TFT && !IS_DWIN_MARLINUI
#if HAS_LCDPRINT
#include "marlinui.h"
#include "lcdprint.h"
@ -103,4 +103,4 @@ int calculateWidth(PGM_P const pstr) {
return n * MENU_FONT_WIDTH;
}
#endif // HAS_WIRED_LCD
#endif // HAS_LCDPRINT