Skip to content

Commit

Permalink
clang2
Browse files Browse the repository at this point in the history
  • Loading branch information
ihakov2 committed Oct 26, 2023
1 parent 43d71e6 commit 6573d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Adafruit_GFX.cpp
Expand Up @@ -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();
}

Expand Down

0 comments on commit 6573d34

Please sign in to comment.