diff options
author | Drashna Jael're <drashna@live.com> | 2020-09-30 04:32:30 -0700 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2020-09-30 04:32:30 -0700 |
commit | 454684a8bbf41860dc9331bfc671ab80d53bf51f (patch) | |
tree | 89b9e9a98ed6c0cd7d68ec3027b16255efd82b82 /keyboards/ergodox_ez/keymaps/webusb | |
parent | 396b86b92d8010ac929f30768cc98643ea019986 (diff) |
[Keyboard] Update to ZSA Boards (qmk#10119)
Diffstat (limited to 'keyboards/ergodox_ez/keymaps/webusb')
-rw-r--r-- | keyboards/ergodox_ez/keymaps/webusb/keymap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/ergodox_ez/keymaps/webusb/keymap.c b/keyboards/ergodox_ez/keymaps/webusb/keymap.c index 15eb76c15e..d37cc49fc3 100644 --- a/keyboards/ergodox_ez/keymaps/webusb/keymap.c +++ b/keyboards/ergodox_ez/keymaps/webusb/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; } |