mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-03-17 16:25:27 -06:00
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>
This commit is contained in:
parent
afc9bcf27b
commit
43ac56766e
2 changed files with 12 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue