Fix missing define to map rgb_matrix function set to rgblight. (#11084)

This commit is contained in:
Sergey Omelchenko 2020-12-05 09:00:58 +03:00 committed by GitHub
parent 1e7661651c
commit e3888281f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,6 +91,7 @@ enum rgb_matrix_effects {
}; };
void eeconfig_update_rgb_matrix_default(void); void eeconfig_update_rgb_matrix_default(void);
void eeconfig_update_rgb_matrix(void);
uint8_t rgb_matrix_map_row_column_to_led_kb(uint8_t row, uint8_t column, uint8_t *led_i); uint8_t rgb_matrix_map_row_column_to_led_kb(uint8_t row, uint8_t column, uint8_t *led_i);
uint8_t rgb_matrix_map_row_column_to_led(uint8_t row, uint8_t column, uint8_t *led_i); 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);
void rgb_matrix_set_flags(led_flags_t flags); void rgb_matrix_set_flags(led_flags_t flags);
#ifndef RGBLIGHT_ENABLE #ifndef RGBLIGHT_ENABLE
# define eeconfig_update_rgblight_current eeconfig_update_rgb_matrix
# define rgblight_toggle rgb_matrix_toggle # define rgblight_toggle rgb_matrix_toggle
# define rgblight_toggle_noeeprom rgb_matrix_toggle_noeeprom # define rgblight_toggle_noeeprom rgb_matrix_toggle_noeeprom
# define rgblight_enable rgb_matrix_enable # define rgblight_enable rgb_matrix_enable