Browse Source

cleanup

pull/247/head
JQ 1 year ago
parent
commit
9d967388f7
  1. 1
      src/helpers/ui/ST7789Display.cpp
  2. 1
      src/helpers/ui/ST7789Display.h

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);

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:

Loading…
Cancel
Save