diff options
author | lalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com> | 2023-08-07 09:13:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 09:13:36 +0800 |
commit | 1201be83b7a29233372e6154851e4157e90f16c5 (patch) | |
tree | b7d9a2e8658ea82275dff12c238c1f7b0043998c | |
parent | 56649bb02e86c41eabe1be01dfbd630ae6fd03a9 (diff) |
Update keyboards/keychron/k11_pro/halconf.h
Co-authored-by: lokher <lokher@gmail.com>
-rwxr-xr-x | keyboards/keychron/k11_pro/halconf.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/keyboards/keychron/k11_pro/halconf.h b/keyboards/keychron/k11_pro/halconf.h index 306f917783..8312a64f86 100755 --- a/keyboards/keychron/k11_pro/halconf.h +++ b/keyboards/keychron/k11_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 |