summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaoto Takai <takai@recompile.net>2021-03-25 21:05:05 +0900
committerGitHub <noreply@github.com>2021-03-25 23:05:05 +1100
commita5ecd4eb87db8eb48544de1de5f437046358369d (patch)
tree7549908fb7d1224071e6db2f8e23d180f2719072
parentf3f444c1df58f85c3720f98eeda3641bc8eddc59 (diff)
Make the size of MATRIX_ROW_PINS and MATRIX_ROW_PINS_RIGHT the same (#12203)
* Make the size of MATRIX_ROW_PINS and MATRIX_ROW_PINS_RIGHT the same * Use NO_PIN instead of duplicate pin
-rw-r--r--keyboards/choco60/rev2/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/choco60/rev2/config.h b/keyboards/choco60/rev2/config.h
index 3783234971..46aef108d8 100644
--- a/keyboards/choco60/rev2/config.h
+++ b/keyboards/choco60/rev2/config.h
@@ -29,7 +29,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define MATRIX_ROW_PINS { C5, C4, B6, B7, C7 }
#define MATRIX_ROW_PINS_RIGHT { D3, D2, D5, D6, B0 }
-#define MATRIX_COL_PINS { C6, B4, B3, B2, B1, B0 }
+/* The last three NO_PIN are dummies to make the same size as MATRIX_ROW_PINS_RIGHT. */
+#define MATRIX_COL_PINS { C6, B4, B3, B2, B1, B0, NO_PIN, NO_PIN, NO_PIN }
#define MATRIX_COL_PINS_RIGHT { C7, B7, B6, B5, B4, B3, B2, C6, D4 }
#define UNUSED_PINS