diff options
Diffstat (limited to 'quantum/led_matrix.c')
-rw-r--r-- | quantum/led_matrix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/led_matrix.c b/quantum/led_matrix.c index 8905730220..72eb5190b3 100644 --- a/quantum/led_matrix.c +++ b/quantum/led_matrix.c @@ -142,11 +142,11 @@ void led_matrix_set_value(int index, uint8_t value) { # endif else if (is_keyboard_left() && index < k_led_matrix_split[0]) #endif -# ifdef USE_CIE1931_CURVE +#ifdef USE_CIE1931_CURVE led_matrix_driver.set_value(index, pgm_read_byte(&CIE1931_CURVE[value])); -# else - led_matrix_driver.set_value(index, value); -# endif +#else + led_matrix_driver.set_value(index, value); +#endif } void led_matrix_set_value_all(uint8_t value) { |