diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2021-02-17 19:58:47 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2021-06-09 18:58:35 -0400 |
commit | b6d8cf27d25faecfa47404924a757dc09e7a84a3 (patch) | |
tree | 8f97c2b0d37e97b451de642c3733a09816feee27 /klippy/chelper/serialqueue.h | |
parent | c53e8c7d4a945fee54f6ad575381cebec2a87c6f (diff) | |
download | kutter-b6d8cf27d25faecfa47404924a757dc09e7a84a3.tar.gz kutter-b6d8cf27d25faecfa47404924a757dc09e7a84a3.tar.xz kutter-b6d8cf27d25faecfa47404924a757dc09e7a84a3.zip |
serialqueue: Add serialqueue_send_one() helper function
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/serialqueue.h')
-rw-r--r-- | klippy/chelper/serialqueue.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/chelper/serialqueue.h b/klippy/chelper/serialqueue.h index 9e66e7f5..724a86a5 100644 --- a/klippy/chelper/serialqueue.h +++ b/klippy/chelper/serialqueue.h @@ -36,6 +36,8 @@ void serialqueue_add_fastreader(struct serialqueue *sq, struct fastreader *fr); void serialqueue_rm_fastreader(struct serialqueue *sq, struct fastreader *fr); void serialqueue_send_batch(struct serialqueue *sq, struct command_queue *cq , struct list_head *msgs); +void serialqueue_send_one(struct serialqueue *sq, struct command_queue *cq + , struct queue_message *qm); void serialqueue_send(struct serialqueue *sq, struct command_queue *cq , uint8_t *msg, int len, uint64_t min_clock , uint64_t req_clock, uint64_t notify_id); |