From 43ac56766e39d9a85372cdf7c1926ffa049f9342 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 11 Feb 2018 18:49:27 -0500 Subject: 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 --- klippy/serialqueue.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'klippy/serialqueue.h') 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 -- cgit v1.2.3-70-g09d2