aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorReFil <[email protected]>2024-05-03 08:22:05 +0100
committerPete Johanson <[email protected]>2024-05-03 06:55:43 -0700
commit2423136788148158e76976223555bb017277b72a (patch)
tree1e5f4fc0b1f6b962466270be9aadf75eaf0dfc36
parentaf908826cd750f666f41fc9bb0b0a148941956c2 (diff)
downloadzmk-2423136788148158e76976223555bb017277b72a.tar.gz
zmk-2423136788148158e76976223555bb017277b72a.zip
fix(boards): Fix pulls on ZMK uno toggle switch
The devicetree pulls always add on to the extra pulls configured by toggle mode, so these should not have pulls defined in the devicetree. Saved ~200uA avg on another board with a 3t toggle switch
-rw-r--r--app/boards/shields/zmk_uno/zmk_uno.dtsi6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/boards/shields/zmk_uno/zmk_uno.dtsi b/app/boards/shields/zmk_uno/zmk_uno.dtsi
index e8ba79d6d0..ba1d3b5da8 100644
--- a/app/boards/shields/zmk_uno/zmk_uno.dtsi
+++ b/app/boards/shields/zmk_uno/zmk_uno.dtsi
@@ -125,9 +125,9 @@ nice_view_spi: &arduino_spi {
toggle-mode;
input-gpios
- = <&arduino_header 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
- , <&arduino_header 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
- , <&arduino_header 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
+ = <&arduino_header 4 GPIO_ACTIVE_LOW>
+ , <&arduino_header 3 GPIO_ACTIVE_LOW>
+ , <&arduino_header 2 GPIO_ACTIVE_LOW>
;
};