boards: circuitdojo_feather_nrf9160: use GPIO_ACTIVE_HIGH instead of 0
Using GPIO_ACTIVE_HIGH explicitly says what is the active level of GPIO, so prefer that instead of using 0. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
This commit is contained in:
parent
4566d0ec58
commit
ccd35abdbd
1 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@
|
|||
compatible = "st,lis2dh";
|
||||
label = "LIS2DH";
|
||||
reg = <0x18>;
|
||||
irq-gpios = <&gpio0 29 0>;
|
||||
irq-gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
};
|
||||
|
@ -227,7 +227,7 @@
|
|||
io-channels = <&adc 7>;
|
||||
output-ohms = <100000>;
|
||||
full-ohms = <(100000 + 100000)>;
|
||||
power-gpios = <&gpio0 25 0>;
|
||||
power-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue