summaryrefslogtreecommitdiff
path: root/quantum/split_common
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-07-23 14:11:37 +0100
committerFlorian Didron <fdidron@users.noreply.github.com>2019-08-13 10:27:36 +0900
commit6d9eb7e97a11f40af0303d10df83e8fb396ec987 (patch)
tree8bcdfa3f732460d81b531de18f47ebaf6d08fc5b /quantum/split_common
parent48db06e8c10a638a4f5a9e9417ccf8873216bfd4 (diff)
Fix MATRIX_X_PINS_RIGHT ARM compilation (#6395)
Diffstat (limited to 'quantum/split_common')
-rw-r--r--quantum/split_common/matrix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/split_common/matrix.c b/quantum/split_common/matrix.c
index 3c3daf3d3b..41a15ace4e 100644
--- a/quantum/split_common/matrix.c
+++ b/quantum/split_common/matrix.c
@@ -253,13 +253,13 @@ void matrix_init(void) {
// Set pinout for right half if pinout for that half is defined
if (!isLeftHand) {
#ifdef MATRIX_ROW_PINS_RIGHT
- const uint8_t row_pins_right[MATRIX_ROWS] = MATRIX_ROW_PINS_RIGHT;
+ const pin_t row_pins_right[MATRIX_ROWS] = MATRIX_ROW_PINS_RIGHT;
for (uint8_t i = 0; i < MATRIX_ROWS; i++) {
row_pins[i] = row_pins_right[i];
}
#endif
#ifdef MATRIX_COL_PINS_RIGHT
- const uint8_t col_pins_right[MATRIX_COLS] = MATRIX_COL_PINS_RIGHT;
+ const pin_t col_pins_right[MATRIX_COLS] = MATRIX_COL_PINS_RIGHT;
for (uint8_t i = 0; i < MATRIX_COLS; i++) {
col_pins[i] = col_pins_right[i];
}