Skip to content

Commit

Permalink
refactor(underglow): allow full range for initial brightness
Browse files Browse the repository at this point in the history
The brightness is already scaled within zmk_rgb_underglow_tick(). With the
current range condition, setting max brightness to 20% results in starting with
4% (20% of 20%) brightness.
  • Loading branch information
xudongzheng committed Jul 30, 2024
1 parent 49f7275 commit bde01e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ config ZMK_RGB_UNDERGLOW_SAT_START

config ZMK_RGB_UNDERGLOW_BRT_START
int "RGB underglow start brightness value in percent"
range ZMK_RGB_UNDERGLOW_BRT_MIN ZMK_RGB_UNDERGLOW_BRT_MAX
default ZMK_RGB_UNDERGLOW_BRT_MAX
range 0 100
default 100

config ZMK_RGB_UNDERGLOW_SPD_START
int "RGB underglow start animation speed value"
Expand Down

0 comments on commit bde01e9

Please sign in to comment.