summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q8_pro/halconf.h
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-10-16 10:57:35 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-10-16 10:57:35 +0800
commit39503982d15af018f55b536f3d2671ae58e58df3 (patch)
treea5d9f8a9708a4c0fdc9f06dd9b2faf63f49b9cec /keyboards/keychron/q8_pro/halconf.h
parent156b2cf426f960cf4c6de0818dc5999f5d68903c (diff)
parent00af20f690b66b11c3c00826b5193a306b611ec4 (diff)
Merge branch 'temp' into keychron_k5_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