diff --git a/quantum/encoder.c b/quantum/encoder.c index d077f77cb838..807ed9b449cf 100644 --- a/quantum/encoder.c +++ b/quantum/encoder.c @@ -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