diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-12-03 00:12:21 -0500 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-01-15 13:50:36 -0500 |
commit | 4aa78a6f8d2742e1407f78c50a0cf93e194447a4 (patch) | |
tree | 5dda2c0fb79e81173d23d3f9628dafc98ab52733 /app/Kconfig | |
parent | 969e5568afa10a15a4d0735bf161abc96afb75ca (diff) |
fix(split): Use queue/work for peripheral events.
* Avoid corruption by using work to process
peripheral key position events on the main
work thread, like local kscan events are.
* Fixes #221
Diffstat (limited to 'app/Kconfig')
-rw-r--r-- | app/Kconfig | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/Kconfig b/app/Kconfig index 0aa291d..65abf7a 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -94,11 +94,19 @@ config ZMK_SPLIT_BLE if ZMK_SPLIT_BLE -config ZMK_SPLIT_BLE_ROLE_CENTRAL +menuconfig ZMK_SPLIT_BLE_ROLE_CENTRAL bool "Central" select BT_CENTRAL select BT_GATT_CLIENT +if ZMK_SPLIT_BLE_ROLE_CENTRAL + +config ZMK_SPLIT_BLE_CENTRAL_POSITION_QUEUE_SIZE + int "Max number of key position state events to queue when received from peripherals" + default 5 + +endif + if !ZMK_SPLIT_BLE_ROLE_CENTRAL config ZMK_USB |