summaryrefslogtreecommitdiffstats
path: root/keyboards/helix/rev2/keymaps/led_test/led_test_init.c
diff options
context:
space:
mode:
authorTakeshi ISHII <2170248+mtei@users.noreply.github.com>2018-09-30 02:40:54 +0900
committerDrashna Jaelre <drashna@live.com>2018-09-29 10:40:54 -0700
commitcd215209efb0e236b691b51c3397495d4449623b (patch)
tree18889dc90a6d78f09299bd97350efe4ac7ecda01 /keyboards/helix/rev2/keymaps/led_test/led_test_init.c
parent4f6495108087da13d7ee44c1f6ced03ebdfb934d (diff)
Helix led_test keymap reduce size (#4023)
* Helix: make rgblight modes selectable. No change in build result. * edit the comment of helix/rev2/keymaps/default/keymap.c * Helix led_test keymap: reduced the size.
Diffstat (limited to 'keyboards/helix/rev2/keymaps/led_test/led_test_init.c')
-rw-r--r--keyboards/helix/rev2/keymaps/led_test/led_test_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/helix/rev2/keymaps/led_test/led_test_init.c b/keyboards/helix/rev2/keymaps/led_test/led_test_init.c
index 1d9cb4ebde..85f5d1aa7e 100644
--- a/keyboards/helix/rev2/keymaps/led_test/led_test_init.c
+++ b/keyboards/helix/rev2/keymaps/led_test/led_test_init.c
@@ -5,7 +5,7 @@ void led_test_init(void) {
static int scan_count = 0;
if( scan_count == 2 ) {
rgblight_enable_noeeprom();
- rgblight_mode_noeeprom(35);
+ rgblight_mode_noeeprom(RGBLIGHT_MODE_RGB_TEST);
}
if( scan_count < 3 ) scan_count ++;
}
@@ -15,6 +15,6 @@ void led_test_init(void) {
// can use this?
void startup_user(void) {
rgblight_enable_noeeprom();
- rgblight_mode_noeeprom(35);
+ rgblight_mode_noeeprom(RGBLIGHT_MODE_RGB_TEST);
}
#endif