Update sofle.dtsi

This commit is contained in:
Yaroslav Kondratev 2024-08-27 16:53:20 +03:00 committed by GitHub
parent 02843633aa
commit 29ec57ceda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,10 +67,10 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7)
}; };
encoder_switch: encoder_switch { encoder_switch: encoder_switch {
compatible = "gpio-keys"; compatible = "gpio";
gpios = <&pro_micro 22 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; // Пин для нажатия энкодера gpios = <&pro_micro 22 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; // Пин для нажатия энкодера
wakeup-source; // Пробуждение от нажатия wakeup-source; // Пробуждение от нажатия
label = "Encoder Switch";
}; };
sensors: sensors { sensors: sensors {