Update Helix 'led_test' keymap (#3292)

* 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
This commit is contained in:
Takeshi ISHII
2018-07-04 08:16:38 +09:00
committed by Drashna Jaelre
parent df73b74b55
commit c197d080c4
6 changed files with 30 additions and 1547 deletions

View File

@@ -0,0 +1,20 @@
#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