add bool isEink() for eink display drivers

This commit is contained in:
taco
2026-06-02 18:36:07 +10:00
parent 3ce1cf404e
commit 5e3edd0bbc
4 changed files with 5 additions and 1 deletions

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;