From b6d8cf27d25faecfa47404924a757dc09e7a84a3 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 17 Feb 2021 19:58:47 -0500 Subject: serialqueue: Add serialqueue_send_one() helper function Signed-off-by: Kevin O'Connor --- klippy/chelper/serialqueue.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'klippy/chelper/serialqueue.h') 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); -- cgit v1.2.3-70-g09d2