Skip to content

Commit

Permalink
Format encoder.c
Browse files Browse the repository at this point in the history
  • Loading branch information
galican committed Oct 17, 2023
1 parent ab272c3 commit 2bd7189
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quantum/encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ static uint8_t encoder_resolutions[NUM_ENCODERS] = ENCODER_RESOLUTIONS;
#endif
static int8_t encoder_LUT[] = {0, -1, 1, 0, 1, 0, 0, -1, -1, 0, 0, 1, 0, 1, -1, 0};

static uint8_t encoder_state[NUM_ENCODERS] = {0};
static int8_t encoder_pulses[NUM_ENCODERS] = {0};
static uint8_t encoder_state[NUM_ENCODERS] = {0};
static int8_t encoder_pulses[NUM_ENCODERS] = {0};
static bool encoder_interrupt_update[NUM_ENCODERS] = {false};

// encoder counts
Expand Down

0 comments on commit 2bd7189

Please sign in to comment.