mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
annepro2: ioline
This commit is contained in:
parent
5f559c2d75
commit
36c22424a1
@ -49,7 +49,7 @@ bool matrix_scan_custom(matrix_row_t current_matrix[]) {
|
||||
// get columns from ports
|
||||
matrix_row_t data = 0;
|
||||
for (int col = 0; col < MATRIX_COLS; ++col) {
|
||||
ioline_t line = col_list[col];
|
||||
pin_t line = col_list[col];
|
||||
uint16_t port = port_cache[HT32_PAL_IDX(PAL_PORT(line))];
|
||||
data |= (((port & (1 << PAL_PAD(line))) ? 0 : 1) << col);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user