Clean up LCD conditionals, DWIN
This commit is contained in:
committed by
Scott Lahteine
parent
9172271c7f
commit
c360705e6a
@ -89,7 +89,9 @@ public:
|
||||
#endif
|
||||
|
||||
#if HAS_SPI_LCD
|
||||
FORCE_INLINE static bool display_enabled() { return flags != 0x00; }
|
||||
#if HAS_GRAPHICAL_LCD && DISABLED(LIGHTWEIGHT_UI)
|
||||
FORCE_INLINE static bool display_enabled() { return flags != 0x00; }
|
||||
#endif
|
||||
#if ENABLED(POWER_MONITOR_CURRENT)
|
||||
static void draw_current();
|
||||
FORCE_INLINE static bool current_display_enabled() { return TEST(flags, PM_DISP_BIT_I); }
|
||||
|
Reference in New Issue
Block a user