diff options
author | Drashna Jaelre <drashna@live.com> | 2019-07-16 01:40:54 -0700 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-07-16 01:40:54 -0700 |
commit | f6c7e114260890292dcd12645db7fecd64167973 (patch) | |
tree | 0edeec134b20c100e793886d7b5b55f0e1917c19 /keyboards/keebio | |
parent | 97a3f806c4740213d7b133f0be7c2f51d228593b (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/keebio')
-rw-r--r-- | keyboards/keebio/bdn9/config.h | 1 | ||||
-rw-r--r-- | keyboards/keebio/iris/rev3/config.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/keyboards/keebio/bdn9/config.h b/keyboards/keebio/bdn9/config.h index 19e625348d..641dc57361 100644 --- a/keyboards/keebio/bdn9/config.h +++ b/keyboards/keebio/bdn9/config.h @@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. { E6, B4, B2 } \ } -#define NUMBER_OF_ENCODERS 2 #define ENCODERS_PAD_A { D1, F5 } #define ENCODERS_PAD_B { D0, F6 } diff --git a/keyboards/keebio/iris/rev3/config.h b/keyboards/keebio/iris/rev3/config.h index 720695b60c..9653625437 100644 --- a/keyboards/keebio/iris/rev3/config.h +++ b/keyboards/keebio/iris/rev3/config.h @@ -41,7 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define QMK_LED B0 #define QMK_SPEAKER C6 -#define NUMBER_OF_ENCODERS 1 #define ENCODERS_PAD_A { B5 } #define ENCODERS_PAD_B { B7 } |