aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Kconfig
diff options
context:
space:
mode:
authorNick Winans <[email protected]>2021-01-08 15:32:55 -0600
committerPete Johanson <[email protected]>2021-01-08 16:51:50 -0500
commit002a89765f27fc295cf14af1648348c3bc0032ae (patch)
tree81d6556dc0e302f5dee33fdc045782e963e8ddb3 /app/Kconfig
parentaf563e9dbcad8ca4c06f956c342fae79e3706ff7 (diff)
downloadzmk-002a89765f27fc295cf14af1648348c3bc0032ae.tar.gz
zmk-002a89765f27fc295cf14af1648348c3bc0032ae.zip
refactor(Kconfig): Set USB default based on hardware capabilities
Removes the USB default under every split right half in favor of a default based on hardware capabilities in the main app Kconfig.
Diffstat (limited to 'app/Kconfig')
-rw-r--r--app/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Kconfig b/app/Kconfig
index f486021045..f5d92a883f 100644
--- a/app/Kconfig
+++ b/app/Kconfig
@@ -361,6 +361,9 @@ config KERNEL_BIN_NAME
config REBOOT
default y
+config USB
+ default y if HAS_HW_NRF_USBD
+
module = ZMK
module-str = zmk
source "subsys/logging/Kconfig.template.log_config"