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.
This commit is contained in:
committed by
Drashna Jaelre
parent
4f64951080
commit
cd215209ef
@ -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
|
||||
|
Reference in New Issue
Block a user