summaryrefslogtreecommitdiff
path: root/keyboards/ergodox_ez/keymaps/oryx
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox_ez/keymaps/oryx')
-rw-r--r--keyboards/ergodox_ez/keymaps/oryx/keymap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/ergodox_ez/keymaps/oryx/keymap.c b/keyboards/ergodox_ez/keymaps/oryx/keymap.c
index 81c8b1b912..f3190852cd 100644
--- a/keyboards/ergodox_ez/keymaps/oryx/keymap.c
+++ b/keyboards/ergodox_ez/keymaps/oryx/keymap.c
@@ -68,6 +68,7 @@ bool suspended = false;
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
+#ifdef RGBLIGHT_ENABLE
case RGB_SLD:
if (record->event.pressed) {
rgblight_mode(1);
@@ -100,6 +101,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#endif
}
return false;
+#endif
}
return true;
}