From 9d967388f79189ba90579bbb8bde9479f27f27f2 Mon Sep 17 00:00:00 2001 From: JQ Date: Sun, 4 May 2025 18:20:53 -0700 Subject: [PATCH] cleanup --- src/helpers/ui/ST7789Display.cpp | 1 - src/helpers/ui/ST7789Display.h | 1 - 2 files changed, 2 deletions(-) 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: