cleanup
This commit is contained in:
@@ -44,7 +44,6 @@ void ST7789Display::startFrame(Color bkg) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ST7789Display::setTextSize(int sz) {
|
void ST7789Display::setTextSize(int sz) {
|
||||||
_textSize = sz; // Store the text size
|
|
||||||
switch(sz) {
|
switch(sz) {
|
||||||
case 1 :
|
case 1 :
|
||||||
display.setFont(ArialMT_Plain_10);
|
display.setFont(ArialMT_Plain_10);
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ class ST7789Display : public DisplayDriver {
|
|||||||
bool _isOn;
|
bool _isOn;
|
||||||
uint16_t _color;
|
uint16_t _color;
|
||||||
int _x=0, _y=0;
|
int _x=0, _y=0;
|
||||||
int _textSize=1; // Track the current text size
|
|
||||||
|
|
||||||
bool i2c_probe(TwoWire& wire, uint8_t addr);
|
bool i2c_probe(TwoWire& wire, uint8_t addr);
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user