diff options
Diffstat (limited to 'keyboards/keychron/k5_pro/halconf.h')
-rw-r--r-- | keyboards/keychron/k5_pro/halconf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/keyboards/keychron/k5_pro/halconf.h b/keyboards/keychron/k5_pro/halconf.h index 306f917783..8312a64f86 100644 --- a/keyboards/keychron/k5_pro/halconf.h +++ b/keyboards/keychron/k5_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 |