diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2018-02-11 18:49:27 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2018-03-06 11:30:41 -0500 |
commit | 43ac56766e39d9a85372cdf7c1926ffa049f9342 (patch) | |
tree | 8f08858c1a0f6cb2d7967b9ed33fdd5630f3b715 /klippy/serialqueue.h | |
parent | afc9bcf27bedf0a4f16265ef3acd4990e8f642fe (diff) | |
download | kutter-43ac56766e39d9a85372cdf7c1926ffa049f9342.tar.gz kutter-43ac56766e39d9a85372cdf7c1926ffa049f9342.tar.xz kutter-43ac56766e39d9a85372cdf7c1926ffa049f9342.zip |
serialqueue: Support sending messages at a background priority
Support low-priority message transmits. This may be useful for bulk
commands that should be delayed util the comms are otherwise idle.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/serialqueue.h')
-rw-r--r-- | klippy/serialqueue.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/klippy/serialqueue.h b/klippy/serialqueue.h index 678885ad..80ab686e 100644 --- a/klippy/serialqueue.h +++ b/klippy/serialqueue.h @@ -3,7 +3,8 @@ #include "list.h" // struct list_head -#define MAX_CLOCK 0x7fffffffffffffff +#define MAX_CLOCK 0x7fffffffffffffffLL +#define BACKGROUND_PRIORITY_CLOCK 0x7fffffff00000000LL #define MESSAGE_MIN 5 #define MESSAGE_MAX 64 |