JQ 1 год назад
Родитель
Сommit
9d967388f7
2 измененных файлов с 0 добавлено и 2 удалено
  1. 0 1
      src/helpers/ui/ST7789Display.cpp
  2. 0 1
      src/helpers/ui/ST7789Display.h

+ 0 - 1
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);

+ 0 - 1
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: