Update keyboards/skyloong/gk75/q2/matrix.c

OK

Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
JIKEDINGZHI 2024-10-09 15:07:21 +08:00 committed by GitHub
parent ad02eb4480
commit 746e46e0f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,7 +68,7 @@ static inline void clockPulse(uint16_t n) {
// matrix code
static bool select_col(uint8_t col) {
setPinOutput_writeHigh(HC595_DS_PIN);
gpio_atomic_set_pin_output_high(HC595_DS_PIN);
for (uint8_t m = 0; m <= col; m++) {
if(m == 0){
gpio_write_pin_low(HC595_DS_PIN);