Tweaks for turning off USB for split peripherals.

This commit is contained in:
Pete Johanson 2020-07-17 16:42:02 -04:00
parent eb0bf2337e
commit 339a15881a
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -1,3 +1,2 @@
CONFIG_ZMK_SPLIT=y
CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y
CONFIG_ZMK_USB=n
CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL=y