diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-04-22 19:26:17 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 19:26:17 +1000 |
commit | 15ff1927dbb01542de895cf8c6c91b69591893ca (patch) | |
tree | a39b6b8869d4ae514452d5d127b6ce737c67b388 /quantum/led_matrix.c | |
parent | d6ab908272e7f8f391b19aee0c8a9dce9b24f511 (diff) |
[CI] Format code according to conventions (#12650)
Co-authored-by: QMK Bot <hello@qmk.fm>
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) { |