Clean up LCD conditionals, DWIN
This commit is contained in:
1 parent
b709baba7a
commit
a445746a8b
35 files changed
+253
-169
No files matched your search
@@ -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