aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/serialqueue.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-07-25 20:50:19 -0400
committerKevin O'Connor <kevin@koconnor.net>2022-07-29 11:40:54 -0400
commitdb6346e7e55d34763904488deff4a67338b1acbd (patch)
tree9590bd463623a68b7deb8c4bde642d6e072f9573 /klippy/chelper/serialqueue.h
parent2293e1506ffd54a5bb1e0bda90f1c497a7bdc20d (diff)
downloadkutter-db6346e7e55d34763904488deff4a67338b1acbd.tar.gz
kutter-db6346e7e55d34763904488deff4a67338b1acbd.tar.xz
kutter-db6346e7e55d34763904488deff4a67338b1acbd.zip
serialqueue: Improve canbus timing
Adjust timing based on the minimum transmission time of canbus messages. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/chelper/serialqueue.h')
-rw-r--r--klippy/chelper/serialqueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/chelper/serialqueue.h b/klippy/chelper/serialqueue.h
index 724a86a5..4d447f2f 100644
--- a/klippy/chelper/serialqueue.h
+++ b/klippy/chelper/serialqueue.h
@@ -42,7 +42,7 @@ 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);
void serialqueue_pull(struct serialqueue *sq, struct pull_queue_message *pqm);
-void serialqueue_set_baud_adjust(struct serialqueue *sq, double baud_adjust);
+void serialqueue_set_wire_frequency(struct serialqueue *sq, double frequency);
void serialqueue_set_receive_window(struct serialqueue *sq, int receive_window);
void serialqueue_set_clock_est(struct serialqueue *sq, double est_freq
, double conv_time, uint64_t conv_clock