summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q8_pro/halconf.h
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-08-28 10:11:32 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-08-28 10:11:32 +0800
commit031f5132817f56f3c874be396815b3999349f8a2 (patch)
treeb776bcc840fd7d618063cc09f1b61956d223d852 /keyboards/keychron/q8_pro/halconf.h
parent6e229860d74887e25cb19f1ea4c64b126195dd64 (diff)
Update q8 pro and k11 pro
Diffstat (limited to 'keyboards/keychron/q8_pro/halconf.h')
-rwxr-xr-xkeyboards/keychron/q8_pro/halconf.h5
1 files changed, 4 insertions, 1 deletions
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