Skip to content

Commit

Permalink
fix(boards): Fix pulls on ZMK uno toggle switch
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ReFil authored and petejohanson committed May 3, 2024
1 parent af90882 commit 2423136
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/boards/shields/zmk_uno/zmk_uno.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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>
;
};

Expand Down

0 comments on commit 2423136

Please sign in to comment.