From 2bd71899bb35fe9bd5c1bffafe601805c50289a9 Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <2831039915@qq.com> Date: Tue, 17 Oct 2023 09:21:26 +0800 Subject: [PATCH] Format encoder.c --- quantum/encoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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