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 Jun 29, 2022
1 parent 36a4ae0 commit 98a3d97
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/Kconfig
Expand Up @@ -469,8 +469,10 @@ config ZMK_WPM
bool "Calculate WPM"
default n

config SENSOR
default y
DT_COMPAT_ZMK_KEYMAP_SENSORS := zmk,keymap-sensors
config ZMK_KEYMAP_SENSORS
def_bool $(dt_compat_enabled,$(DT_COMPAT_ZMK_KEYMAP_SENSORS))
select SENSOR

choice CBPRINTF_IMPLEMENTATION
default CBPRINTF_NANO
Expand Down

0 comments on commit 98a3d97

Please sign in to comment.