aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/planck
diff options
context:
space:
mode:
authorGravatar Drashna Jaelre <drashna@live.com>2019-07-16 01:40:54 -0700
committerGravatar skullydazed <skullydazed@users.noreply.github.com>2019-07-16 01:40:54 -0700
commitf6c7e114260890292dcd12645db7fecd64167973 (patch)
tree0edeec134b20c100e793886d7b5b55f0e1917c19 /keyboards/planck
parent97a3f806c4740213d7b133f0be7c2f51d228593b (diff)
downloadqmk_firmware-f6c7e114260890292dcd12645db7fecd64167973.tar.gz
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 142382dab..a252b2528 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 841a62190..3354c3f80 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 }