diff options
author | lalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com> | 2023-08-07 09:13:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-07 09:13:29 +0800 |
commit | 56649bb02e86c41eabe1be01dfbd630ae6fd03a9 (patch) | |
tree | 6736161f96bd3eaad6ac5bff79f6b7082e07d81d | |
parent | c09c096980e59ff96a7f5ed17b755e5c0709aa65 (diff) |
Update keyboards/keychron/k11_pro/k11_pro.c
Co-authored-by: lokher <lokher@gmail.com>
-rwxr-xr-x | keyboards/keychron/k11_pro/k11_pro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/keychron/k11_pro/k11_pro.c b/keyboards/keychron/k11_pro/k11_pro.c index 51a0dd4497..9189ef8586 100755 --- a/keyboards/keychron/k11_pro/k11_pro.c +++ b/keyboards/keychron/k11_pro/k11_pro.c @@ -157,7 +157,8 @@ void keyboard_post_init_kb(void) { ckbt51_init(false); bluetooth_init(); -# ifdef ENCODER_ENBALE +#endif +#ifdef ENCODER_ENBALE pin_t encoders_pad_a[NUM_ENCODERS] = ENCODERS_PAD_A; pin_t encoders_pad_b[NUM_ENCODERS] = ENCODERS_PAD_B; for (uint8_t i = 0; i < NUM_ENCODERS; i++) { @@ -166,7 +167,6 @@ void keyboard_post_init_kb(void) { palSetLineCallback(encoders_pad_a[i], encoder_pad_cb, &i); palSetLineCallback(encoders_pad_b[i], encoder_pad_cb, &i); } -# endif #endif power_on_indicator_timer_buffer = sync_timer_read32() | 1; |