lgfx_display: better handle display class construction
This commit is contained in:
@@ -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