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:
parent
295ed83409
commit
f0f7e2081b
@ -532,8 +532,11 @@ config ZMK_WPM
|
||||
bool "Calculate WPM"
|
||||
default n
|
||||
|
||||
config SENSOR
|
||||
config ZMK_KEYMAP_SENSORS
|
||||
bool "Enable Keymap Sensors support"
|
||||
default y
|
||||
depends on DT_HAS_ZMK_KEYMAP_SENSORS_ENABLED
|
||||
select SENSOR
|
||||
|
||||
if ZMK_KEYMAP_SENSORS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user