1
0
Fork 0

Remove useless LED/RGB_MATRIX_ENABLE ifdefs (#23726)

This commit is contained in:
Ryan 2024-05-16 21:52:15 +10:00 committed by GitHub
parent 38d6aa2674
commit a9ba83c7be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -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]) {