mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-08 17:29:09 +00:00
Fix MATRIX_X_PINS_RIGHT ARM compilation (#6395)
This commit is contained in:
parent
7ec583e5ef
commit
b1691ba696
1 changed files with 2 additions and 2 deletions
|
@ -253,13 +253,13 @@ void matrix_init(void) {
|
||||||
// Set pinout for right half if pinout for that half is defined
|
// Set pinout for right half if pinout for that half is defined
|
||||||
if (!isLeftHand) {
|
if (!isLeftHand) {
|
||||||
#ifdef MATRIX_ROW_PINS_RIGHT
|
#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++) {
|
for (uint8_t i = 0; i < MATRIX_ROWS; i++) {
|
||||||
row_pins[i] = row_pins_right[i];
|
row_pins[i] = row_pins_right[i];
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef MATRIX_COL_PINS_RIGHT
|
#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++) {
|
for (uint8_t i = 0; i < MATRIX_COLS; i++) {
|
||||||
col_pins[i] = col_pins_right[i];
|
col_pins[i] = col_pins_right[i];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue