Skip to content

Commit

Permalink
clang4
Browse files Browse the repository at this point in the history
  • Loading branch information
ihakov2 committed Oct 26, 2023
1 parent 77acfbb commit dc2d52e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Adafruit_GFX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1742,7 +1742,7 @@ void Adafruit_GFX_Button::setLabel(char *label) {
@return button label char pointer
*/
char *Adafruit_GFX_Button::getLabel() { return _label; }

/**********************************************************************/
/*!
@brief Set the button to enable/disable
Expand Down
12 changes: 6 additions & 6 deletions Adafruit_GFX.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,18 +294,18 @@ class Adafruit_GFX_Button {
@returns True if pressed
*/
/**********************************************************************/
bool isPressed(void) { return currstate; };
/**********************************************************************/
/*!
bool isPressed(void) { return currstate; };

/**********************************************************************/
/*!
@brief Check whether the button is enabled
@returns True if enabled
*/
*/
/**********************************************************************/
bool isEnabled(void) { return _enabled; }

void setEnabled(bool enable, uint16_t fillColor);

private:
Adafruit_GFX *_gfx;
int16_t _x1, _y1; // Coordinates of top-left corner
Expand Down

0 comments on commit dc2d52e

Please sign in to comment.