aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/buttonmatrix/lv_buttonmatrix.c
diff options
context:
space:
mode:
authorBenign X <1341398182@qq.com>2024-01-26 17:32:02 +0800
committerGitHub <noreply@github.com>2024-01-26 10:32:02 +0100
commit56cd592527f9bf5eb6b025ef0bc7fde2b5720634 (patch)
tree5867b6e05b9c5d9691afb2e56de19b87d15af889 /src/widgets/buttonmatrix/lv_buttonmatrix.c
parent0b5c1a16428085dfdd92131adc65e42b204588af (diff)
downloadlvgl-56cd592527f9bf5eb6b025ef0bc7fde2b5720634.tar.gz
lvgl-56cd592527f9bf5eb6b025ef0bc7fde2b5720634.zip
chore(widgets): add parentheses to MY_CLASS definition (#5485)
Diffstat (limited to 'src/widgets/buttonmatrix/lv_buttonmatrix.c')
-rw-r--r--src/widgets/buttonmatrix/lv_buttonmatrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/buttonmatrix/lv_buttonmatrix.c b/src/widgets/buttonmatrix/lv_buttonmatrix.c
index 291d69a78..9b67c31bd 100644
--- a/src/widgets/buttonmatrix/lv_buttonmatrix.c
+++ b/src/widgets/buttonmatrix/lv_buttonmatrix.c
@@ -21,7 +21,7 @@
/*********************
* DEFINES
*********************/
-#define MY_CLASS &lv_buttonmatrix_class
+#define MY_CLASS (&lv_buttonmatrix_class)
#define BTN_EXTRA_CLICK_AREA_MAX (LV_DPI_DEF / 10)
#define LV_BUTTONMATRIX_WIDTH_MASK 0x000F