Add virtual destructor for TFT_eSPI
This commit is contained in:
parent
0d51de79f6
commit
3890f47b59
|
|
@ -360,6 +360,8 @@ class TFT_eSPI : public Print {
|
||||||
|
|
||||||
TFT_eSPI(int16_t _W = TFT_WIDTH, int16_t _H = TFT_HEIGHT);
|
TFT_eSPI(int16_t _W = TFT_WIDTH, int16_t _H = TFT_HEIGHT);
|
||||||
|
|
||||||
|
virtual ~TFT_eSPI(); //is base for TFT_eSprite class
|
||||||
|
|
||||||
// init() and begin() are equivalent, begin() included for backwards compatibility
|
// init() and begin() are equivalent, begin() included for backwards compatibility
|
||||||
// Sketch defined tab colour option is for ST7735 displays only
|
// Sketch defined tab colour option is for ST7735 displays only
|
||||||
void init(uint8_t tc = TAB_COLOUR), begin(uint8_t tc = TAB_COLOUR);
|
void init(uint8_t tc = TAB_COLOUR), begin(uint8_t tc = TAB_COLOUR);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue