diff --git a/src/helpers/ui/ST7789Display.cpp b/src/helpers/ui/ST7789Display.cpp index f996f702..fef7dc56 100644 --- a/src/helpers/ui/ST7789Display.cpp +++ b/src/helpers/ui/ST7789Display.cpp @@ -44,7 +44,6 @@ void ST7789Display::startFrame(Color bkg) { } void ST7789Display::setTextSize(int sz) { - _textSize = sz; // Store the text size switch(sz) { case 1 : display.setFont(ArialMT_Plain_10); diff --git a/src/helpers/ui/ST7789Display.h b/src/helpers/ui/ST7789Display.h index 1188f2b0..da0db818 100644 --- a/src/helpers/ui/ST7789Display.h +++ b/src/helpers/ui/ST7789Display.h @@ -11,7 +11,6 @@ class ST7789Display : public DisplayDriver { bool _isOn; uint16_t _color; int _x=0, _y=0; - int _textSize=1; // Track the current text size bool i2c_probe(TwoWire& wire, uint8_t addr); public: