summaryrefslogtreecommitdiff
path: root/drivers/led
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-09-21 12:16:17 +1000
committerGitHub <noreply@github.com>2023-09-21 12:16:17 +1000
commitdb68a95caea7ee65c6b91603ad6b11928a579953 (patch)
tree080d48af2c075d91e3ba7de50b1ec50712cdfd98 /drivers/led
parent6b5cb01834e050f6c87e885b59db6b43ec09f8da (diff)
LED/RGB Matrix: prefix driver defines (#22088)
Diffstat (limited to 'drivers/led')
-rw-r--r--drivers/led/issi/is31flcommon.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/led/issi/is31flcommon.h b/drivers/led/issi/is31flcommon.h
index 4b3add558b..93533e14de 100644
--- a/drivers/led/issi/is31flcommon.h
+++ b/drivers/led/issi/is31flcommon.h
@@ -25,13 +25,13 @@
#include "progmem.h"
// Which variant header file to use
-#ifdef IS31FL3742A
+#if defined(LED_MATRIX_IS31FL3742A) || defined(RGB_MATRIX_IS31FL3742A)
# include "is31fl3742.h"
-#elif defined(IS31FL3743A)
+#elif defined(LED_MATRIX_IS31FL3743A) || defined(RGB_MATRIX_IS31FL3743A)
# include "is31fl3743.h"
-#elif defined(IS31FL3745)
+#elif defined(LED_MATRIX_IS31FL3745) || defined(RGB_MATRIX_IS31FL3745)
# include "is31fl3745.h"
-#elif defined(IS31FL3746A)
+#elif defined(LED_MATRIX_IS31FL3746A) || defined(RGB_MATRIX_IS31FL3746A)
# include "is31fl3746.h"
#endif