summaryrefslogtreecommitdiffstats
path: root/keyboards
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-09-13 16:11:50 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-09-13 16:11:50 +0800
commit805573369c663ef6dff3714653085e109403051e (patch)
treee218213c28630e3284b2d083df46aa3781126d1c /keyboards
parent747353348ecda25fd50ab47b802d1428f307fd1b (diff)
Updated K15_Pro.c
Diffstat (limited to 'keyboards')
-rwxr-xr-xkeyboards/keychron/k15_pro/k15_pro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keychron/k15_pro/k15_pro.c b/keyboards/keychron/k15_pro/k15_pro.c
index 3bddad462f..ce3ef9c0ed 100755
--- a/keyboards/keychron/k15_pro/k15_pro.c
+++ b/keyboards/keychron/k15_pro/k15_pro.c
@@ -151,7 +151,7 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
return true;
}
-#if defined(ENCODER_ENABLE)
+#if defined(KC_BLUETOOTH_ENABLE) && defined(ENCODER_ENABLE)
static void encoder_pad_cb(void *param) {
encoder_inerrupt_read((uint32_t)param & 0XFF);
}