From 805573369c663ef6dff3714653085e109403051e Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <2831039915@qq.com> Date: Wed, 13 Sep 2023 16:11:50 +0800 Subject: Updated K15_Pro.c --- keyboards/keychron/k15_pro/k15_pro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3