fl16: Re-enable RGB backlight
Can still get into BIOS setup menu on cold and warm boot. Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
parent
45f8b07d39
commit
7682b2378d
@ -1,4 +1,4 @@
|
|||||||
# Debugging (enabled in info.json)
|
# Debugging (enabled in info.json)
|
||||||
#CONSOLE_ENABLE = yes
|
#CONSOLE_ENABLE = yes
|
||||||
RGB_MATRIX_ENABLE = no
|
RGB_MATRIX_ENABLE = yes
|
||||||
RGB_MATRIX_DRIVER = IS31FL3743A
|
RGB_MATRIX_DRIVER = IS31FL3743A
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
RGB_MATRIX_ENABLE = no
|
RGB_MATRIX_ENABLE = yes
|
||||||
RGB_MATRIX_DRIVER = IS31FL3743A
|
RGB_MATRIX_DRIVER = IS31FL3743A
|
||||||
|
@ -328,7 +328,7 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
|||||||
//if (rgb_init_timer > 0 && TIMER_DIFF_16(timer_read(), rgb_init_timer) >= 10000) {
|
//if (rgb_init_timer > 0 && TIMER_DIFF_16(timer_read(), rgb_init_timer) >= 10000) {
|
||||||
//if (rgb_init_timer > 0 && TIMER_DIFF_16(timer_read(), rgb_init_timer) >= 100) {
|
//if (rgb_init_timer > 0 && TIMER_DIFF_16(timer_read(), rgb_init_timer) >= 100) {
|
||||||
//if (!bios_mode || rgb_init_timer > 0 && TIMER_DIFF_16(timer_read(), rgb_init_timer) >= 10000) {
|
//if (!bios_mode || rgb_init_timer > 0 && TIMER_DIFF_16(timer_read(), rgb_init_timer) >= 10000) {
|
||||||
rgb_matrix_init();
|
//rgb_matrix_init();
|
||||||
rgb_init = true;
|
rgb_init = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -384,20 +384,20 @@ void quantum_init(void) {
|
|||||||
backlight_init_ports();
|
backlight_init_ports();
|
||||||
#endif
|
#endif
|
||||||
#ifdef AUDIO_ENABLE
|
#ifdef AUDIO_ENABLE
|
||||||
audio_init()
|
audio_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef LED_MATRIX_ENABLE
|
#ifdef LED_MATRIX_ENABLE
|
||||||
led_matrix_init()
|
led_matrix_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef RGB_MATRIX_ENABLE
|
#ifdef RGB_MATRIX_ENABLE
|
||||||
// Here
|
// Here
|
||||||
//rgb_matrix_init();
|
rgb_matrix_init();
|
||||||
#endif
|
#endif
|
||||||
#if defined(UNICODE_COMMON_ENABLE)
|
#if defined(UNICODE_COMMON_ENABLE)
|
||||||
unicode_input_mode_init()
|
unicode_input_mode_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAPTIC_ENABLE
|
#ifdef HAPTIC_ENABLE
|
||||||
haptic_init()
|
haptic_init();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -412,10 +412,10 @@ void keyboard_init(void) {
|
|||||||
//via_init();
|
//via_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef SPLIT_KEYBOARD
|
#ifdef SPLIT_KEYBOARD
|
||||||
split_pre_init()
|
split_pre_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef ENCODER_ENABLE
|
#ifdef ENCODER_ENABLE
|
||||||
encoder_init()
|
encoder_init();
|
||||||
#endif
|
#endif
|
||||||
matrix_init();
|
matrix_init();
|
||||||
quantum_init();
|
quantum_init();
|
||||||
@ -429,39 +429,39 @@ void keyboard_init(void) {
|
|||||||
st7565_init(DISPLAY_ROTATION_0);
|
st7565_init(DISPLAY_ROTATION_0);
|
||||||
#endif
|
#endif
|
||||||
#ifdef PS2_MOUSE_ENABLE
|
#ifdef PS2_MOUSE_ENABLE
|
||||||
ps2_mouse_init()
|
ps2_mouse_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef BACKLIGHT_ENABLE
|
#ifdef BACKLIGHT_ENABLE
|
||||||
backlight_init();
|
backlight_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef RGBLIGHT_ENABLE
|
#ifdef RGBLIGHT_ENABLE
|
||||||
rgblight_init()
|
rgblight_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef STENO_ENABLE_ALL
|
#ifdef STENO_ENABLE_ALL
|
||||||
steno_init()
|
steno_init();
|
||||||
#endif
|
#endif
|
||||||
#if defined(NKRO_ENABLE) && defined(FORCE_NKRO)
|
#if defined(NKRO_ENABLE) && defined(FORCE_NKRO)
|
||||||
keymap_config.nkro = 1;
|
keymap_config.nkro = 1;
|
||||||
eeconfig_update_keymap(keymap_config.raw);
|
eeconfig_update_keymap(keymap_config.raw);
|
||||||
#endif
|
#endif
|
||||||
#ifdef DIP_SWITCH_ENABLE
|
#ifdef DIP_SWITCH_ENABLE
|
||||||
dip_switch_init()
|
dip_switch_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef SLEEP_LED_ENABLE
|
#ifdef SLEEP_LED_ENABLE
|
||||||
sleep_led_init()
|
sleep_led_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef VIRTSER_ENABLE
|
#ifdef VIRTSER_ENABLE
|
||||||
virtser_init();
|
virtser_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef SPLIT_KEYBOARD
|
#ifdef SPLIT_KEYBOARD
|
||||||
split_post_init()
|
split_post_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef POINTING_DEVICE_ENABLE
|
#ifdef POINTING_DEVICE_ENABLE
|
||||||
// init after split init
|
// init after split init
|
||||||
pointing_device_init();
|
pointing_device_init();
|
||||||
#endif
|
#endif
|
||||||
#ifdef BLUETOOTH_ENABLE
|
#ifdef BLUETOOTH_ENABLE
|
||||||
bluetooth_init()
|
bluetooth_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(DEBUG_MATRIX_SCAN_RATE) && defined(CONSOLE_ENABLE)
|
#if defined(DEBUG_MATRIX_SCAN_RATE) && defined(CONSOLE_ENABLE)
|
||||||
|
Loading…
Reference in New Issue
Block a user