diff options
author | Nick Brassel <nick@tzarc.org> | 2021-11-16 05:21:09 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 18:21:09 +0000 |
commit | 36d123e9c5a9ce0e29b9bc22ef87661bf479e299 (patch) | |
tree | 1033718afb33e1eb7dc3cd7b99db59a90668fa8a /quantum/quantum.h | |
parent | b3ee124da666287ef13787523ea88bf40713ff4c (diff) | |
download | qmk_firmware-36d123e9c5a9ce0e29b9bc22ef87661bf479e299.tar.gz qmk_firmware-36d123e9c5a9ce0e29b9bc22ef87661bf479e299.zip |
Add support for deferred executors. (#14859)
* Add support for deferred executors.
* More docs.
* Include from quantum.h
* Cleanup.
* Parameter checks
* Comments.
* qmk format-c
* I accidentally a few words.
* API name change.
* Apply suggestions from code review
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* Review comments.
* qmk format-c
* Review comments.
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r-- | quantum/quantum.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h index e6015adbe..b34ff6ec5 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h | |||
@@ -54,6 +54,10 @@ | |||
54 | #include <stddef.h> | 54 | #include <stddef.h> |
55 | #include <stdlib.h> | 55 | #include <stdlib.h> |
56 | 56 | ||
57 | #ifdef DEFERRED_EXEC_ENABLE | ||
58 | # include "deferred_exec.h" | ||
59 | #endif | ||
60 | |||
57 | extern layer_state_t default_layer_state; | 61 | extern layer_state_t default_layer_state; |
58 | 62 | ||
59 | #ifndef NO_ACTION_LAYER | 63 | #ifndef NO_ACTION_LAYER |