Skip to content

Commit

Permalink
more move shield backlight enabling to board
Browse files Browse the repository at this point in the history
  • Loading branch information
cyril279 committed Mar 19, 2024
1 parent e7b8409 commit 11ebcd1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions config/boards/shields/rev1350/boards/nice_nano_v2.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_ZMK_BACKLIGHT=y
4 changes: 0 additions & 4 deletions config/boards/shields/rev1350/boards/nine_nano_v2.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@
};

/ {
chosen {
zmk,backlight = &backlight;
};

backlight: pwmleds {
compatible = "pwm-leds";
pwm_led_0 {
Expand Down
1 change: 0 additions & 1 deletion config/boards/shields/rev1350/rev1350.conf
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
CONFIG_ZMK_BACKLIGHT=y
1 change: 1 addition & 0 deletions config/boards/shields/rev1350/rev1350.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
chosen {
zmk,kscan = &kscan0;
zmk,matrix_transform = &default_transform;
zmk,backlight = &backlight;
};

default_transform: keymap_transform_0 {
Expand Down

0 comments on commit 11ebcd1

Please sign in to comment.