diff options
author | Joel Challis <git@zvecr.com> | 2020-01-15 01:58:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-15 01:58:32 +0000 |
commit | 48cac9e3c8710ae3e27c66fbd7043f38e7c6535e (patch) | |
tree | a34180fc73b535f3d2b8508f7267b872f0ddcb32 /keyboards/xd96/matrix.c | |
parent | 537b8713e5bc9690dca3c1ad8733132892d48ea2 (diff) | |
download | qmk_firmware-48cac9e3c8710ae3e27c66fbd7043f38e7c6535e.tar.gz |
Migrate more custom matrix 'lite' code to core (#7863)
* Migrate more custom matrix lite code to core
* Align function names
* fix up MATRIX_MASKED
Diffstat (limited to 'keyboards/xd96/matrix.c')
-rw-r--r-- | keyboards/xd96/matrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/xd96/matrix.c b/keyboards/xd96/matrix.c index e8fd850ed..8cecc79c2 100644 --- a/keyboards/xd96/matrix.c +++ b/keyboards/xd96/matrix.c @@ -80,14 +80,14 @@ static bool read_cols_on_row(matrix_row_t current_matrix[], uint8_t current_row) //_____CUSTOM MATRIX IMPLEMENTATION____________________________________________________ -void custom_matrix_init(void) { +void matrix_init_custom(void) { pca9555_init(IC1); pca9555_init(IC2); init_pins(); } -bool custom_matrix_scan(matrix_row_t current_matrix[]) { +bool matrix_scan_custom(matrix_row_t current_matrix[]) { bool changed = false; for (uint8_t current_row = 0; current_row < MATRIX_ROWS; current_row++) { changed |= read_cols_on_row(current_matrix, current_row); |