Skip to content

Commit

Permalink
refactor(config): Select SENSOR as needed.
Browse files Browse the repository at this point in the history
* Don't force on SENSOR Kconfig setting unless
  needed based on the detected DT.
  • Loading branch information
petejohanson committed Apr 10, 2023
1 parent 8bbc603 commit 289e39f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/Kconfig
Expand Up @@ -494,8 +494,12 @@ config ZMK_WPM
bool "Calculate WPM"
default n

config SENSOR
DT_COMPAT_ZMK_KEYMAP_SENSORS := zmk,keymap-sensors
config ZMK_KEYMAP_SENSORS
bool "Enable Keymap Sensors support"
default y
depends on DT_HAS_ZMK_KEYMAP_SENSORS_ENABLED
select SENSOR

choice CBPRINTF_IMPLEMENTATION
default CBPRINTF_NANO
Expand Down

0 comments on commit 289e39f

Please sign in to comment.