Interrupt fixes.

This commit is contained in:
Pete Johanson
2020-07-20 10:27:44 -04:00
parent 893b99d907
commit 331bfa7052
2 changed files with 9 additions and 15 deletions

View File

@@ -7,15 +7,12 @@
#include "kyria.dtsi"
/ {
sensors {
encoder: encoder0 {
compatible = "alps,en11";
label = "Rotary Encoder";
a-gpios = <&pro_micro_d 5 GPIO_ACTIVE_HIGH>;
b-gpios = <&pro_micro_d 9 GPIO_ACTIVE_HIGH>;
a-gpios = <&pro_micro_d 5 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
b-gpios = <&pro_micro_d 9 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>;
};
};
};
&kscan0 {