Interrupt fixes.
This commit is contained in:
parent
893b99d907
commit
331bfa7052
2 changed files with 9 additions and 15 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue