mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-10-03 18:18:46 -04:00
clang2
This commit is contained in:
parent
43d71e63d8
commit
6573d34ac1
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user