summaryrefslogtreecommitdiff
path: root/keyboard/planck/matrix_pcb.c
diff options
context:
space:
mode:
authorWilba6582 <Jason.S.Wiliams@gmail.com>2015-06-30 17:35:18 +1000
committerWilba6582 <Jason.S.Wiliams@gmail.com>2015-06-30 17:35:18 +1000
commit138156d4a0be4470f9653d7191d152c16f0678fc (patch)
treee42a7f3e9741d4f31b5e902681b76173990aab71 /keyboard/planck/matrix_pcb.c
parentefe8304e7977eb23a6738b047fb64aa2e08f7636 (diff)
Update for Atomic PCB Rev 0
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 7d46baf3de..11a7376d86 100644
--- a/keyboard/planck/matrix_pcb.c
+++ b/keyboard/planck/matrix_pcb.c
@@ -182,6 +182,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);
@@ -191,13 +198,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) {