Skip to content

Commit

Permalink
Update keyboards/keychron/k11_pro/k11_pro.c
Browse files Browse the repository at this point in the history
Co-authored-by: lokher <[email protected]>
  • Loading branch information
KeychronMacro and lokher authored Aug 7, 2023
1 parent c09c096 commit 56649bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keyboards/keychron/k11_pro/k11_pro.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand All @@ -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;
Expand Down

0 comments on commit 56649bb

Please sign in to comment.