summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron')
-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);
}