From dc2d52eb8db06bf997b81d4548a6d08d00fda008 Mon Sep 17 00:00:00 2001 From: ildus hakov Date: Thu, 26 Oct 2023 19:52:40 -0400 Subject: [PATCH] clang4 --- Adafruit_GFX.cpp | 2 +- Adafruit_GFX.h | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Adafruit_GFX.cpp b/Adafruit_GFX.cpp index 6fe32701..7ed6bdf6 100644 --- a/Adafruit_GFX.cpp +++ b/Adafruit_GFX.cpp @@ -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 diff --git a/Adafruit_GFX.h b/Adafruit_GFX.h index 2d303b66..5867cc7a 100644 --- a/Adafruit_GFX.h +++ b/Adafruit_GFX.h @@ -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