1
0
Fork 0

Fix helix:led_test build break (#3110)

* copy new rgblight.[ch] from quantum/ into keyboards/helix/rev2/keymaps/led_test/ and add mode 35 RGB cyclic mode

* force RGB light mode 25
This commit is contained in:
Takeshi ISHII 2018-06-03 01:07:32 +09:00 committed by Drashna Jaelre
parent d554d96334
commit 8707bdd509
3 changed files with 168 additions and 47 deletions

View file

@ -32,7 +32,7 @@ extern uint8_t is_master;
#define _DVORAK 2
#define _LOWER 3
#define _RAISE 4
#define _ADJUST 16
#define _ADJUST 6
enum custom_keycodes {
QWERTY = SAFE_RANGE,
@ -513,6 +513,12 @@ void music_scale_user(void)
#ifdef SSD1306OLED
void matrix_scan_user(void) {
static int scan_count = 0;
if( scan_count == 2 ) {
rgblight_enable();
rgblight_mode(35);
}
if( scan_count < 3 ) scan_count ++;
iota_gfx_task(); // this is what updates the display continuously
}