diff options
author | Ryan <fauxpark@gmail.com> | 2022-11-27 04:18:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-27 04:18:24 +1100 |
commit | e12ca14af8fc1799357bbfffd156d53b4a51001c (patch) | |
tree | 3d488e321ca7c52897facef7952ac2989c2ba047 /keyboards/chromatonemini | |
parent | ad7b095da6b2a51a310725c1c0fcb6571b46e7e7 (diff) |
Change `RGB_MATRIX_STARTUP_*` defines to `RGB_MATRIX_DEFAULT_*` (#19079)
Diffstat (limited to 'keyboards/chromatonemini')
-rw-r--r-- | keyboards/chromatonemini/config.h | 2 | ||||
-rw-r--r-- | keyboards/chromatonemini/keymaps/led/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/chromatonemini/keymaps/party/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/chromatonemini/keymaps/via/keymap.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/chromatonemini/config.h b/keyboards/chromatonemini/config.h index 119f9dac5d..b8bf416d8a 100644 --- a/keyboards/chromatonemini/config.h +++ b/keyboards/chromatonemini/config.h @@ -64,7 +64,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. # define LED_HITS_TO_REMEMBER 10 # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50 -# define RGB_MATRIX_STARTUP_SPD 127 +# define RGB_MATRIX_DEFAULT_SPD 127 # define RGB_MATRIX_CENTER { 124, 32 } // the above brighness setting has no effect on rgb_matrix_set_color(). // Use darker colors instead. diff --git a/keyboards/chromatonemini/keymaps/led/keymap.c b/keyboards/chromatonemini/keymaps/led/keymap.c index c1187a7b10..22fc25d253 100644 --- a/keyboards/chromatonemini/keymaps/led/keymap.c +++ b/keyboards/chromatonemini/keymaps/led/keymap.c @@ -310,7 +310,7 @@ void eeconfig_init_user(void) { // EEPROM is getting reset! #ifdef RGB_MATRIX_ENABLE rgb_matrix_enable(); - rgb_matrix_set_speed(RGB_MATRIX_STARTUP_SPD); + rgb_matrix_set_speed(RGB_MATRIX_DEFAULT_SPD); #endif // RGB_MATRIX_ENABLE my_init(); // commom codes called from eeconfig_init_user() and keyboard_post_init_user(). } diff --git a/keyboards/chromatonemini/keymaps/party/keymap.c b/keyboards/chromatonemini/keymaps/party/keymap.c index 4c8a0316c4..a26250e1a8 100644 --- a/keyboards/chromatonemini/keymaps/party/keymap.c +++ b/keyboards/chromatonemini/keymaps/party/keymap.c @@ -313,7 +313,7 @@ void eeconfig_init_user(void) { // EEPROM is getting reset! #ifdef RGB_MATRIX_ENABLE rgb_matrix_enable(); - rgb_matrix_set_speed(RGB_MATRIX_STARTUP_SPD); + rgb_matrix_set_speed(RGB_MATRIX_DEFAULT_SPD); #endif // RGB_MATRIX_ENABLE my_init(); // commom codes called from eeconfig_init_user() and keyboard_post_init_user(). } diff --git a/keyboards/chromatonemini/keymaps/via/keymap.c b/keyboards/chromatonemini/keymaps/via/keymap.c index 9269448567..185e4a37a7 100644 --- a/keyboards/chromatonemini/keymaps/via/keymap.c +++ b/keyboards/chromatonemini/keymaps/via/keymap.c @@ -119,7 +119,7 @@ void eeconfig_init_user(void) { // EEPROM is getting reset! #ifdef RGB_MATRIX_ENABLE rgb_matrix_enable(); - rgb_matrix_set_speed(RGB_MATRIX_STARTUP_SPD); + rgb_matrix_set_speed(RGB_MATRIX_DEFAULT_SPD); rgb_matrix_sethsv(HSV_BLUE); #endif // RGB_MATRIX_ENABLE my_init(); // commom codes called from eeconfig_init_user() and keyboard_post_init_user(). |