diff options
author | Pete Johanson <peter@peterjohanson.com> | 2021-01-06 09:32:08 -0500 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-01-15 13:50:36 -0500 |
commit | 65e476df3e4584aa744763b52a86930c67e2e288 (patch) | |
tree | 80d5cd0a93a11066b2fea898e4600b309eb56d69 /app/Kconfig | |
parent | c11759bc795239c38c36ecd78d6408662aa77f54 (diff) |
fix(splits): Send pos notify from dedicated thread
* Avoid deadlocks by using a deadicated workqueue for sending
position state notifications from peripherals.
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 7602b9b..df00f1d 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -102,7 +102,7 @@ config ZMK_SPLIT if ZMK_SPLIT -config ZMK_SPLIT_BLE +menuconfig ZMK_SPLIT_BLE bool "Split keyboard support via BLE transport" depends on ZMK_BLE default y @@ -125,6 +125,18 @@ endif if !ZMK_SPLIT_BLE_ROLE_CENTRAL +config ZMK_SPLIT_BLE_PERIPHERAL_STACK_SIZE + int "BLE split peripheral notify thread stack size" + default 512 + +config ZMK_SPLIT_BLE_PERIPHERAL_PRIORITY + int "BLE split peripheral notify thread priority" + default 5 + +config ZMK_SPLIT_BLE_PERIPHERAL_POSITION_QUEUE_SIZE + int "Max number of key position state events to queue to send to the central" + default 10 + config ZMK_USB default n |