mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-02-18 02:26:54 +00:00
Update keyboards/sthlmkb/storre/matrix.c
Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
84501d402c
commit
f3a49bfa4e
@ -44,7 +44,7 @@ static void select_col(uint8_t col)
|
|||||||
{
|
{
|
||||||
for (uint8_t bit = 0; bit < MATRIX_MUX_COLS; bit++) {
|
for (uint8_t bit = 0; bit < MATRIX_MUX_COLS; bit++) {
|
||||||
uint8_t state = (col & (0b1 << bit)) >> bit;
|
uint8_t state = (col & (0b1 << bit)) >> bit;
|
||||||
writePin(col_pins[bit], state);
|
gpio_write_pin(col_pins[bit], state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user