mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-01-09 15:12:33 +00:00
fix: ergodox glow out of bound animation mode when flashing a layout with less animations set
This commit is contained in:
@@ -335,6 +335,9 @@ led_config_t g_led_config = { {
|
||||
|
||||
# ifdef ORYX_CONFIGURATOR
|
||||
void keyboard_post_init_kb(void) {
|
||||
if (rgb_matrix_get_mode() >= RGB_MATRIX_EFFECT_MAX) {
|
||||
rgb_matrix_mode(RGB_MATRIX_NONE);
|
||||
}
|
||||
rgb_matrix_enable_noeeprom();
|
||||
keyboard_post_init_user();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user