diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-07-07 10:20:23 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-07-07 10:20:23 -0400 |
commit | 7c5fb7adb5a505ab5f89754370567b2357aa322a (patch) | |
tree | cce9b7330539e5cec20648ca43c38301ef05e27a /app/Kconfig | |
parent | 48f3f86a835d7ec9c636948f42adbf2ef8d6a762 (diff) |
Use SYS_INIT for BLE and USB init.
Diffstat (limited to 'app/Kconfig')
-rw-r--r-- | app/Kconfig | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/app/Kconfig b/app/Kconfig index 45481b1..23f7945 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -15,12 +15,20 @@ config ZMK_KSCAN_EVENT_QUEUE_SIZE menu "HID Output Types" -config ZMK_USB +menuconfig ZMK_USB bool "USB" select USB select USB_DEVICE_STACK select USB_DEVICE_HID +if ZMK_USB + +config ZMK_USB_INIT_PRIORITY + int "Init Priority" + default 50 + +endif + menuconfig ZMK_BLE bool "BLE (HID over GATT)" select BT @@ -32,6 +40,10 @@ menuconfig ZMK_BLE if ZMK_BLE +config ZMK_BLE_INIT_PRIORITY + int "Init Priority" + default 50 + # HID GATT notifications sent this way are *not* picked up by Linux, and possibly others. config BT_GATT_NOTIFY_MULTIPLE default n |