forked from kofal.net/zmk
refactor(config): Select SENSOR as needed.
* Don't force on SENSOR Kconfig setting unless needed based on the detected DT.
This commit is contained in:
committed by
Pete Johanson
parent
295ed83409
commit
f0f7e2081b
@@ -532,8 +532,11 @@ config ZMK_WPM
|
|||||||
bool "Calculate WPM"
|
bool "Calculate WPM"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config SENSOR
|
config ZMK_KEYMAP_SENSORS
|
||||||
|
bool "Enable Keymap Sensors support"
|
||||||
default y
|
default y
|
||||||
|
depends on DT_HAS_ZMK_KEYMAP_SENSORS_ENABLED
|
||||||
|
select SENSOR
|
||||||
|
|
||||||
if ZMK_KEYMAP_SENSORS
|
if ZMK_KEYMAP_SENSORS
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user