diff options
author | Sergey Omelchenko <ruddy.rudeman@gmail.com> | 2020-12-05 09:00:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-05 17:00:58 +1100 |
commit | e3888281f49d566cb9cf3efdebb105014f0957d2 (patch) | |
tree | 7189e0af1d1880653684ef02ad5e0a26c07d5ec1 | |
parent | 1e7661651cce7d18654522cefc8839944e02f44a (diff) | |
download | qmk_firmware-e3888281f49d566cb9cf3efdebb105014f0957d2.tar.gz qmk_firmware-e3888281f49d566cb9cf3efdebb105014f0957d2.zip |
Fix missing define to map rgb_matrix function set to rgblight. (#11084)
-rw-r--r-- | quantum/rgb_matrix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/rgb_matrix.h b/quantum/rgb_matrix.h index 771a1fcd3..1fd016d79 100644 --- a/quantum/rgb_matrix.h +++ b/quantum/rgb_matrix.h | |||
@@ -91,6 +91,7 @@ enum rgb_matrix_effects { | |||
91 | }; | 91 | }; |
92 | 92 | ||
93 | void eeconfig_update_rgb_matrix_default(void); | 93 | void eeconfig_update_rgb_matrix_default(void); |
94 | void eeconfig_update_rgb_matrix(void); | ||
94 | 95 | ||
95 | uint8_t rgb_matrix_map_row_column_to_led_kb(uint8_t row, uint8_t column, uint8_t *led_i); | 96 | uint8_t rgb_matrix_map_row_column_to_led_kb(uint8_t row, uint8_t column, uint8_t *led_i); |
96 | uint8_t rgb_matrix_map_row_column_to_led(uint8_t row, uint8_t column, uint8_t *led_i); | 97 | uint8_t rgb_matrix_map_row_column_to_led(uint8_t row, uint8_t column, uint8_t *led_i); |
@@ -159,6 +160,7 @@ led_flags_t rgb_matrix_get_flags(void); | |||
159 | void rgb_matrix_set_flags(led_flags_t flags); | 160 | void rgb_matrix_set_flags(led_flags_t flags); |
160 | 161 | ||
161 | #ifndef RGBLIGHT_ENABLE | 162 | #ifndef RGBLIGHT_ENABLE |
163 | # define eeconfig_update_rgblight_current eeconfig_update_rgb_matrix | ||
162 | # define rgblight_toggle rgb_matrix_toggle | 164 | # define rgblight_toggle rgb_matrix_toggle |
163 | # define rgblight_toggle_noeeprom rgb_matrix_toggle_noeeprom | 165 | # define rgblight_toggle_noeeprom rgb_matrix_toggle_noeeprom |
164 | # define rgblight_enable rgb_matrix_enable | 166 | # define rgblight_enable rgb_matrix_enable |