diff --git a/keyboards/skyloong/gk75/q2/matrix.c b/keyboards/skyloong/gk75/q2/matrix.c index 0cda1c60a17..a9f7f7004b5 100644 --- a/keyboards/skyloong/gk75/q2/matrix.c +++ b/keyboards/skyloong/gk75/q2/matrix.c @@ -90,9 +90,9 @@ static void unselect_col(uint8_t col) { } static void unselect_cols(void) { - setPinOutput_writeLow(HC595_SH_PIN); - setPinOutput_writeLow(HC595_ST_PIN); - setPinOutput_writeHigh(HC595_DS_PIN); + gpio_atomic_set_pin_output_low(HC595_SH_PIN); + gpio_atomic_set_pin_output_low(HC595_ST_PIN); + gpio_atomic_set_pin_output_high(HC595_DS_PIN); for (uint8_t x = 0; x < MATRIX_COLS; x++) { clockPulse(CLOCK_TIME); }