lgfx_display: better handle display class construction

This commit is contained in:
Florent
2025-10-18 14:03:27 +02:00
parent 45ab0e8cf7
commit ce70792309
2 changed files with 4 additions and 10 deletions

View File

@@ -124,6 +124,5 @@ public:
class SCIndicatorDisplay : public LGFXDisplay {
LGFX disp;
public:
SCIndicatorDisplay() : LGFXDisplay(480, 480)
{ display=&disp; }
SCIndicatorDisplay() : LGFXDisplay(480, 480, disp) {}
};