From 339a15881a07c5b6e05c39ccdb8a312ba53042ff Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Fri, 17 Jul 2020 16:42:02 -0400 Subject: [PATCH] Tweaks for turning off USB for split peripherals. --- app/Kconfig | 7 +++++++ app/boards/shields/kyria/kyria_right.conf | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/Kconfig b/app/Kconfig index c2a753f2..aa8be605 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 99d6c4e2..a835adc1 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