summaryrefslogtreecommitdiffstats
path: root/keyboard/planck/matrix_pcb.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-08-16 17:56:15 -0400
committerJack Humbert <jack.humb@gmail.com>2015-08-16 17:56:15 -0400
commitc9cbff446f58262ef9c26b7ce280f37e36b15b9a (patch)
tree1917ebd3b78dfbad7a6555b5ce425c551ca356ca /keyboard/planck/matrix_pcb.c
parentc5a8287dea6f5d9d798d0ea5b43b08d2c362c71d (diff)
parente12c0de608be5b3239222735bb6403e0fda3fb26 (diff)
merging
Diffstat (limited to 'keyboard/planck/matrix_pcb.c')
-rw-r--r--keyboard/planck/matrix_pcb.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/keyboard/planck/matrix_pcb.c b/keyboard/planck/matrix_pcb.c
index 48510cd833..6f6ccd5c1c 100644
--- a/keyboard/planck/matrix_pcb.c
+++ b/keyboard/planck/matrix_pcb.c
@@ -181,6 +181,13 @@ static matrix_row_t read_cols(void)
}
+//
+// Planck PCB Rev 1 Pin Assignments
+//
+// Row: 0, 1, 2, 3
+// Pin: D0, D5, B5, B6
+//
+
static void unselect_rows(void)
{
DDRB &= ~(1<<5 | 1<<6);
@@ -190,13 +197,6 @@ static void unselect_rows(void)
}
-//
-// Planck PCB Rev 1 Pin Assignments
-//
-// Row: 0, 1, 2, 3
-// Pin: D0, D5, B5, B6
-//
-
static void select_row(uint8_t row)
{
switch (row) {