diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-11-03 20:17:32 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-11-03 20:17:32 +0200 |
| commit | 5095d47320c36e2346d41eb7e35dcbd215886557 (patch) | |
| tree | a57f13d05f80e284967c2b3af4fb47f6404d83d1 /src/tmtx | |
| parent | 438a3e1407565dbd1d8ceb3981f4830a723a3c3c (diff) | |
| download | hid-tmff2-5095d47320c36e2346d41eb7e35dcbd215886557.tar.gz hid-tmff2-5095d47320c36e2346d41eb7e35dcbd215886557.zip | |
minimize critical section in work handler
+ Effects handlers were being called in a locked context,
which in this case happened to work due to how `hid_hw_request`
is implemented. Now, only the selected state is updated and the heavy
lifting of making the wheel aware of the requested changes is done
after the critical section.
Diffstat (limited to 'src/tmtx')
0 files changed, 0 insertions, 0 deletions
