feat(underglow): RGB toggle controls ext_power

fix(ug): Don't return if finding ext power fails

fix(ug): Move ext_power to a static variable

Add #if defs
This commit is contained in:
Nick
2020-11-22 20:07:13 -06:00
committed by Pete Johanson
parent f5ecf761a3
commit a1d3230eef
3 changed files with 71 additions and 39 deletions

View File

@@ -187,6 +187,10 @@ if ZMK_RGB_UNDERGLOW
config SPI
default y
config ZMK_RGB_UNDERGLOW_EXT_POWER
bool "RGB underglow toggling also controls external power"
default y
config ZMK_RGB_UNDERGLOW_HUE_STEP
int "RGB underglow hue step in degrees of 360"
default 10
@@ -220,7 +224,7 @@ config ZMK_RGB_UNDERGLOW_EFF_START
default 0
config ZMK_RGB_UNDERGLOW_ON_START
bool "Whether RGB underglow starts on by default"
bool "RGB underglow starts on by default"
default y
#ZMK_RGB_UNDERGLOW