diff options
author | QMK Bot <hello@qmk.fm> | 2022-12-08 16:44:03 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-12-08 16:44:03 +0000 |
commit | e06f50c489e02068465dfb3e5b3c7473006e6273 (patch) | |
tree | 91401c338f2e8567c01c28221250de1107ba40cb /keyboards/keychron/q2/q2.c | |
parent | 5a2ed77a086386dae7c10eed7bda54253dc8177e (diff) | |
parent | 1215fc2a782100bfd6577e1826f8c7e46be137ca (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/keychron/q2/q2.c')
-rw-r--r-- | keyboards/keychron/q2/q2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/keychron/q2/q2.c b/keyboards/keychron/q2/q2.c index 03d1ee7db5..7a8edd8016 100644 --- a/keyboards/keychron/q2/q2.c +++ b/keyboards/keychron/q2/q2.c @@ -24,6 +24,8 @@ const matrix_row_t matrix_mask[] = { 0b1111111111101111, }; +#ifdef DIP_SWITCH_ENABLE + bool dip_switch_update_kb(uint8_t index, bool active) { if (!dip_switch_update_user(index, active)) { return false;} if (index == 0) { @@ -31,3 +33,5 @@ bool dip_switch_update_kb(uint8_t index, bool active) { } return true; } + +#endif // DIP_SWITCH_ENABLE |