aboutsummaryrefslogtreecommitdiff
path: root/quantum/rgb_matrix/rgb_matrix_drivers.c
diff options
context:
space:
mode:
authorRyan <[email protected]>2024-05-16 21:52:15 +1000
committerGitHub <[email protected]>2024-05-16 12:52:15 +0100
commita9ba83c7beee3fd86d677eae5823fbb1e8b8bb30 (patch)
treee2da80d42f77025bc2bdaeb25dcdda5061393012 /quantum/rgb_matrix/rgb_matrix_drivers.c
parent38d6aa26740c172b0e845f0566cd15f4f5f7be88 (diff)
downloadqmk_firmware-a9ba83c7beee3fd86d677eae5823fbb1e8b8bb30.tar.gz
qmk_firmware-a9ba83c7beee3fd86d677eae5823fbb1e8b8bb30.zip
Remove useless `LED/RGB_MATRIX_ENABLE` ifdefs (#23726)
Diffstat (limited to 'quantum/rgb_matrix/rgb_matrix_drivers.c')
-rw-r--r--quantum/rgb_matrix/rgb_matrix_drivers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/rgb_matrix/rgb_matrix_drivers.c b/quantum/rgb_matrix/rgb_matrix_drivers.c
index db3a2ef9e0..bf5209a9d3 100644
--- a/quantum/rgb_matrix/rgb_matrix_drivers.c
+++ b/quantum/rgb_matrix/rgb_matrix_drivers.c
@@ -164,7 +164,7 @@ static void flush(void) {
// Set an led in the buffer to a color
static inline void setled(int i, uint8_t r, uint8_t g, uint8_t b) {
-# if defined(RGB_MATRIX_ENABLE) && defined(RGB_MATRIX_SPLIT)
+# if defined(RGB_MATRIX_SPLIT)
const uint8_t k_rgb_matrix_split[2] = RGB_MATRIX_SPLIT;
if (!is_keyboard_left()) {
if (i >= k_rgb_matrix_split[0]) {