lgfx_display: better handle display class construction
This commit is contained in:
1 parent
94ea99b89f
commit
d2f5673906
2 files changed
+4
-10
No files matched your search
@@ -124,6 +124,5 @@ public:
|
||||
class SCIndicatorDisplay : public LGFXDisplay {
|
||||
LGFX disp;
|
||||
public:
|
||||
SCIndicatorDisplay() : LGFXDisplay(480, 480)
|
||||
{ display=&disp; }
|
||||
SCIndicatorDisplay() : LGFXDisplay(480, 480, disp) {}
|
||||
};
|
||||
Reference in new issue
Block a user