From 031f5132817f56f3c874be396815b3999349f8a2 Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <2831039915@qq.com> Date: Mon, 28 Aug 2023 10:11:32 +0800 Subject: Update q8 pro and k11 pro --- keyboards/keychron/q8_pro/halconf.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'keyboards/keychron/q8_pro/halconf.h') diff --git a/keyboards/keychron/q8_pro/halconf.h b/keyboards/keychron/q8_pro/halconf.h index 8d8e138e4e..35209171cc 100755 --- a/keyboards/keychron/q8_pro/halconf.h +++ b/keyboards/keychron/q8_pro/halconf.h @@ -20,8 +20,11 @@ #define HAL_USE_I2C TRUE -#ifdef KC_BLUETOOTH_ENABLE +#if defined(ENCODER_ENBALE) || defined(KC_BLUETOOTH_ENABLE) # define PAL_USE_CALLBACKS TRUE +#endif + +#ifdef KC_BLUETOOTH_ENABLE # define HAL_USE_SERIAL TRUE # define HAL_USE_RTC TRUE #endif -- cgit v1.2.3