🔧 HAS_LCDPRINT conditional
This commit is contained in:
committed by
Scott Lahteine
parent
5f0e1a15df
commit
341113bcfb
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user