fix: ergodox glow out of bound animation mode when flashing a layout with less animations set

This commit is contained in:
Florian
2024-07-11 19:55:18 +07:00
parent ce352c6f86
commit 1e66361615

View File

@@ -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();
}