Skip to content

Commit b2feaad

Browse files
authored
Update diode direction and GPIO configuration
Changed diode direction from 'row2col' to 'col2row' and updated GPIO configurations to include pull-down resistors.
1 parent 780acf6 commit b2feaad

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

config/boards/shields/crosses/crosses.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
compatible = "zmk,kscan-gpio-matrix";
2828
label = "KSCAN";
2929

30-
diode-direction = "row2col";
30+
diode-direction = "col2row";
3131
row-gpios
32-
= <&gpio0 24 GPIO_ACTIVE_HIGH>
33-
, <&gpio0 2 GPIO_ACTIVE_HIGH>
34-
, <&gpio0 29 GPIO_ACTIVE_HIGH>
35-
, <&gpio0 31 GPIO_ACTIVE_HIGH>
36-
, <&gpio0 11 GPIO_ACTIVE_HIGH>
32+
= <&gpio0 24 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
33+
, <&gpio0 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
34+
, <&gpio0 29 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
35+
, <&gpio0 31 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
36+
, <&gpio0 11 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
3737

3838
;
3939
};

0 commit comments

Comments
 (0)