c197d080c4
* now helix led_test local rgblight.[ch] not use. remove. * greatly simplify keyboards/helix/rev2/keymaps/led_test/keymap.c Helix keymap 'led_test' use modified default/keymap.c
21 lines
400 B
C
21 lines
400 B
C
#include QMK_KEYBOARD_H
|
|
|
|
#if 1
|
|
void led_test_init(void) {
|
|
static int scan_count = 0;
|
|
if( scan_count == 2 ) {
|
|
rgblight_enable_noeeprom();
|
|
rgblight_mode_noeeprom(35);
|
|
}
|
|
if( scan_count < 3 ) scan_count ++;
|
|
}
|
|
|
|
#else
|
|
// when qmk/qmk_firmware PullRequest #3113 available.
|
|
// can use this?
|
|
void startup_user(void) {
|
|
rgblight_enable_noeeprom();
|
|
rgblight_mode_noeeprom(35);
|
|
}
|
|
#endif
|