This commit is contained in:
ildus hakov 2023-10-26 19:22:38 -04:00
parent 43d71e63d8
commit 6573d34ac1

View File

@ -1753,7 +1753,7 @@ char *Adafruit_GFX_Button::getLabel() { return _label; }
void Adafruit_GFX_Button::setEnabled(bool enable, uint16_t fillColor) {
_enabled = enable;
_fillcolor = fillColor;
currstate = (enable? currstate: false);
currstate = (enable ? currstate : false);
drawButton();
}