summaryrefslogtreecommitdiff
path: root/keyboards/planck
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-07-16 01:40:54 -0700
committerskullydazed <skullydazed@users.noreply.github.com>2019-07-16 01:40:54 -0700
commitf6c7e114260890292dcd12645db7fecd64167973 (patch)
tree0edeec134b20c100e793886d7b5b55f0e1917c19 /keyboards/planck
parent97a3f806c4740213d7b133f0be7c2f51d228593b (diff)
Remove the need to specify NUM_OF_ENCODERS for the Encoder feature (#6328)
* Remove the need to set NUM_OF_ENCODERS Instead, calculate the size of the array, and use that instead * Add hack for split common support * Remove NUM_OF_ENCODERS from keyboard config Can be reverted, if needed
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/ez/config.h1
-rw-r--r--keyboards/planck/rev6/config.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/keyboards/planck/ez/config.h b/keyboards/planck/ez/config.h
index 142382dab1..a252b25284 100644
--- a/keyboards/planck/ez/config.h
+++ b/keyboards/planck/ez/config.h
@@ -43,7 +43,6 @@
#define MATRIX_ROW_PINS { A10, A9, A8, B15, C13, C14, C15, A2 }
#define MATRIX_COL_PINS { B11, B10, B2, B1, A7, B0 }
-#define NUMBER_OF_ENCODERS 1
#define ENCODERS_PAD_A { B12 }
#define ENCODERS_PAD_B { B13 }
diff --git a/keyboards/planck/rev6/config.h b/keyboards/planck/rev6/config.h
index 841a621904..3354c3f80f 100644
--- a/keyboards/planck/rev6/config.h
+++ b/keyboards/planck/rev6/config.h
@@ -43,7 +43,6 @@
* #define UNUSED_PINS
*/
-#define NUMBER_OF_ENCODERS 1
#define ENCODERS_PAD_A { B12 }
#define ENCODERS_PAD_B { B13 }