From f93e043f2cf456e71082451289940b9122375099 Mon Sep 17 00:00:00 2001 From: Chen Zeng Date: Thu, 27 Jun 2024 14:32:51 +0800 Subject: [PATCH] Update zazu.dtsi --- config/boards/shields/zazu/zazu.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/boards/shields/zazu/zazu.dtsi b/config/boards/shields/zazu/zazu.dtsi index f20f9ef..8335aad 100644 --- a/config/boards/shields/zazu/zazu.dtsi +++ b/config/boards/shields/zazu/zazu.dtsi @@ -66,8 +66,8 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(3,6) RC(3,7) RC(3,8) RC(3,9) center_encoder: encoder_center { compatible = "alps,ec11"; label = "CENTER_ENCODER"; - a-gpios = <&gpio0 29 (GPIO_ACTIVE_LOW | GPIO_PULL_DOWN)>; - b-gpios = <&gpio0 31 (GPIO_ACTIVE_LOW | GPIO_PULL_DOWN)>; + a-gpios = <&gpio0 29 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; + b-gpios = <&gpio0 31 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; resolution = <1>; steps = <30>; status = "okay"; @@ -255,4 +255,4 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(3,6) RC(3,7) RC(3,8) RC(3,9) evt-type = ; input-code = ; }; -}; \ No newline at end of file +};