From c89a26d37deb8fc04c9067c6a30a1b12b653da58 Mon Sep 17 00:00:00 2001 From: Chen Zeng Date: Thu, 27 Jun 2024 14:37:50 +0800 Subject: [PATCH] Update zazu.dtsi --- config/boards/shields/zazu/zazu.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/boards/shields/zazu/zazu.dtsi b/config/boards/shields/zazu/zazu.dtsi index 8335aad..3529332 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_HIGH | GPIO_PULL_UP)>; - b-gpios = <&gpio0 31 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; + a-gpios = <&gpio0 29 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; + b-gpios = <&gpio0 31 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; resolution = <1>; steps = <30>; status = "okay";