diff options
author | Peter Johanson <peter@peterjohanson.com> | 2021-08-12 03:43:07 +0000 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-09-25 17:17:04 -0400 |
commit | 063d98e3dfa8e0089aa0039b24489d29b062cf5e (patch) | |
tree | d3329cb1e0c5c350f32784ed05e0a3761023f0f7 /app/include/zmk/display.h | |
parent | 9f2785786fed6e195949f4f88acd8b272f95e1d3 (diff) |
feat(display): Optional dedicated work queue.
* Add new Kconfig settingsx to allow selecting system or dedicated
work queue for performing UI updates.
* Allow UI updates to not block other system tasks when display is
updating, especially important for e-ink displays.
Diffstat (limited to 'app/include/zmk/display.h')
-rw-r--r-- | app/include/zmk/display.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/include/zmk/display.h b/app/include/zmk/display.h index 3f4eb52..d3bd042 100644 --- a/app/include/zmk/display.h +++ b/app/include/zmk/display.h @@ -6,4 +6,6 @@ #pragma once +struct k_work_q *zmk_display_work_q(); + int zmk_display_init();
\ No newline at end of file |