summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/oryx
diff options
context:
space:
mode:
authorBoris Churzin <essl.main@gmail.com>2022-02-06 06:58:15 +0200
committerGitHub <noreply@github.com>2022-02-05 20:58:15 -0800
commit88a22268eb3f932b485f524dadc52c93163ae839 (patch)
tree6ccb3ed16371b7473198d1c5ae1a1a4079620874 /keyboards/planck/keymaps/oryx
parent317252612fb68ec160fd5829500cce77d9d7fa58 (diff)
[Keyboard] oryx rules.mk rgblight (#16229)
Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com>
Diffstat (limited to 'keyboards/planck/keymaps/oryx')
-rw-r--r--keyboards/planck/keymaps/oryx/keymap.c2
-rw-r--r--keyboards/planck/keymaps/oryx/rules.mk2
2 files changed, 3 insertions, 1 deletions
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