summaryrefslogtreecommitdiffstats
path: root/keyboards/bastardkb/charybdis/3x5
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-11-27 04:18:24 +1100
committerGitHub <noreply@github.com>2022-11-27 04:18:24 +1100
commite12ca14af8fc1799357bbfffd156d53b4a51001c (patch)
tree3d488e321ca7c52897facef7952ac2989c2ba047 /keyboards/bastardkb/charybdis/3x5
parentad7b095da6b2a51a310725c1c0fcb6571b46e7e7 (diff)
Change `RGB_MATRIX_STARTUP_*` defines to `RGB_MATRIX_DEFAULT_*` (#19079)
Diffstat (limited to 'keyboards/bastardkb/charybdis/3x5')
-rw-r--r--keyboards/bastardkb/charybdis/3x5/keymaps/bstiq/config.h11
-rw-r--r--keyboards/bastardkb/charybdis/3x5/keymaps/via/keymap.c2
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/bastardkb/charybdis/3x5/keymaps/bstiq/config.h b/keyboards/bastardkb/charybdis/3x5/keymaps/bstiq/config.h
index 699a700063..cceba7c1fb 100644
--- a/keyboards/bastardkb/charybdis/3x5/keymaps/bstiq/config.h
+++ b/keyboards/bastardkb/charybdis/3x5/keymaps/bstiq/config.h
@@ -153,14 +153,13 @@
// Rainbow swirl as startup mode.
# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
-# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT
+# define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_LEFT_RIGHT
// Slow swirl at startup.
-# define RGB_MATRIX_STARTUP_SPD 32
+# define RGB_MATRIX_DEFAULT_SPD 32
// Startup values.
-# define RGB_MATRIX_STARTUP_HUE 0
-# define RGB_MATRIX_STARTUP_SAT 255
-# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
-# define RGB_MATRIX_STARTUP_HSV RGB_MATRIX_STARTUP_HUE, RGB_MATRIX_STARTUP_SAT, RGB_MATRIX_STARTUP_VAL
+# define RGB_MATRIX_DEFAULT_HUE 0
+# define RGB_MATRIX_DEFAULT_SAT 255
+# define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
#endif // RGB_MATRIX_ENABLE
diff --git a/keyboards/bastardkb/charybdis/3x5/keymaps/via/keymap.c b/keyboards/bastardkb/charybdis/3x5/keymaps/via/keymap.c
index d3fdfef14a..ec93cec627 100644
--- a/keyboards/bastardkb/charybdis/3x5/keymaps/via/keymap.c
+++ b/keyboards/bastardkb/charybdis/3x5/keymaps/via/keymap.c
@@ -236,7 +236,7 @@ void matrix_scan_user(void) {
auto_pointer_layer_timer = 0;
layer_off(LAYER_POINTER);
# ifdef RGB_MATRIX_ENABLE
- rgb_matrix_mode_noeeprom(RGB_MATRIX_STARTUP_MODE);
+ rgb_matrix_mode_noeeprom(RGB_MATRIX_DEFAULT_MODE);
# endif // RGB_MATRIX_ENABLE
}
}