fix(splits): Send pos notify from dedicated thread
* Avoid deadlocks by using a deadicated workqueue for sending position state notifications from peripherals.
This commit is contained in:
parent
c11759bc79
commit
65e476df3e
2 changed files with 70 additions and 5 deletions
14
app/Kconfig
14
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue