From 88a22268eb3f932b485f524dadc52c93163ae839 Mon Sep 17 00:00:00 2001 From: Boris Churzin Date: Sun, 6 Feb 2022 06:58:15 +0200 Subject: [Keyboard] oryx rules.mk rgblight (#16229) Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com> --- keyboards/planck/keymaps/oryx/keymap.c | 2 +- keyboards/planck/keymaps/oryx/rules.mk | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/keyboards/planck/keymaps/oryx/keymap.c b/keyboards/planck/keymaps/oryx/keymap.c index e84b9913a8..0368c98420 100644 --- a/keyboards/planck/keymaps/oryx/keymap.c +++ b/keyboards/planck/keymaps/oryx/keymap.c @@ -91,7 +91,7 @@ void set_layer_color(int layer) { } void rgb_matrix_indicators_user(void) { - if (g_suspend_state || keyboard_config.disable_layer_led) { + if (keyboard_config.disable_layer_led) { return; } switch (biton32(layer_state)) { diff --git a/keyboards/planck/keymaps/oryx/rules.mk b/keyboards/planck/keymaps/oryx/rules.mk index 1e29b5f218..5f561b32e1 100644 --- a/keyboards/planck/keymaps/oryx/rules.mk +++ b/keyboards/planck/keymaps/oryx/rules.mk @@ -3,5 +3,7 @@ CONSOLE_ENABLE = no COMMAND_ENABLE = no MOUSEKEY_ENABLE = no +RGBLIGHT_ENABLE = no +RGB_MATRIX_ENABLE = yes WEBUSB_ENABLE = yes ORYX_ENABLE = yes -- cgit v1.2.3