From 7085eb875c835fb83614a3828792506253a11e51 Mon Sep 17 00:00:00 2001 From: Harshit Goel--HOME Date: Sun, 26 Jun 2022 12:01:11 +0530 Subject: [PATCH] cleanup --- app/boards/shields/pteron36/pteron36.conf | 2 +- app/boards/shields/pteron36/pteron36.dtsi | 35 ----------------------- 2 files changed, 1 insertion(+), 36 deletions(-) diff --git a/app/boards/shields/pteron36/pteron36.conf b/app/boards/shields/pteron36/pteron36.conf index e5700d94..09edbc3d 100644 --- a/app/boards/shields/pteron36/pteron36.conf +++ b/app/boards/shields/pteron36/pteron36.conf @@ -1 +1 @@ -CONFIG_ZMK_DISPLAY=y \ No newline at end of file +#CONFIG_ZMK_DISPLAY=y \ No newline at end of file diff --git a/app/boards/shields/pteron36/pteron36.dtsi b/app/boards/shields/pteron36/pteron36.dtsi index 840ce29d..c0023532 100644 --- a/app/boards/shields/pteron36/pteron36.dtsi +++ b/app/boards/shields/pteron36/pteron36.dtsi @@ -42,38 +42,3 @@ RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) ; }; - -/* left_encoder: encoder_left { - compatible = "alps,ec11"; - label = "LEFT_ENCODER"; - a-gpios = <&pro_micro_a 3 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; - b-gpios = <&pro_micro_a 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; - resolution = <4>; - }; - - sensors { - compatible = "zmk,keymap-sensors"; - sensors = <&left_encoder>; - }; -*/ -}; - -&pro_micro_i2c { - status = "okay"; - - oled: ssd1306@3c { - compatible = "solomon,ssd1306fb"; - reg = <0x3c>; - label = "DISPLAY"; - width = <128>; - height = <32>; - segment-offset = <0>; - page-offset = <0>; - display-offset = <0>; - multiplex-ratio = <31>; - segment-remap; - com-invdir; - com-sequential; - prechargep = <0x22>; - }; -};