diff options
author | lokher <lokher@gmail.com> | 2023-09-07 15:35:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-07 15:35:26 +0800 |
commit | 41f7e6ddcb2648da2fd9cbca3d64955983e97bbe (patch) | |
tree | bebb89fabc13a505d1e57add472341e0dbdd1007 /keyboards/keychron/q8_pro/halconf.h | |
parent | 40283748598590e461de2f2e1b183750daaf64a6 (diff) | |
parent | 031f5132817f56f3c874be396815b3999349f8a2 (diff) |
Merge pull request #162 from lalalademaxiya1/k11_pro_encoder_fixed
k11 pro encoder fixed
Diffstat (limited to 'keyboards/keychron/q8_pro/halconf.h')
-rwxr-xr-x | keyboards/keychron/q8_pro/halconf.h | 5 |
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 |