summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-07-17 16:42:02 -0400
committerPete Johanson <peter@peterjohanson.com>2020-07-17 22:43:40 -0400
commit339a15881a07c5b6e05c39ccdb8a312ba53042ff (patch)
treef9370510ed72f6f6de9527b0fe081d2143fed50c
parenteb0bf2337ee988cb5b094db814beb0db8271e908 (diff)
Tweaks for turning off USB for split peripherals.
-rw-r--r--app/Kconfig7
-rw-r--r--app/boards/shields/kyria/kyria_right.conf3
2 files changed, 8 insertions, 2 deletions
diff --git a/app/Kconfig b/app/Kconfig
index c2a753f..aa8be60 100644
--- a/app/Kconfig
+++ b/app/Kconfig
@@ -102,6 +102,13 @@ endif
config ZMK_SPLIT_BLE_ROLE_PERIPHERAL
bool "Peripheral"
+if ZMK_SPLIT_BLE_ROLE_PERIPHERAL
+
+config ZMK_USB
+ default n
+
+endif
+
endchoice
endif
diff --git a/app/boards/shields/kyria/kyria_right.conf b/app/boards/shields/kyria/kyria_right.conf
index 99d6c4e..a835adc 100644
--- a/app/boards/shields/kyria/kyria_right.conf
+++ b/app/boards/shields/kyria/kyria_right.conf
@@ -1,3 +1,2 @@
CONFIG_ZMK_SPLIT=y
-CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y
-CONFIG_ZMK_USB=n \ No newline at end of file
+CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y \ No newline at end of file