add bool isEink() for eink display drivers

This commit is contained in:
taco committed 2026-06-02 18:36:07 +10:00
1 parent 7f0610fea5
commit 6990bca252
4 files changed
+5 -1

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ public:
int height() const { return _h; }
virtual bool isOn() = 0;
virtual bool isEink() { return false; } // default to non-eink, override in eink drivers
virtual void turnOn() = 0;
virtual void turnOff() = 0;
virtual void clear() = 0;