From 620f77ddb79de683befb458f43c30435759ac0e2 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 15 Feb 2021 19:18:51 -0500 Subject: msgblock: Add clock estimation helper functions Signed-off-by: Kevin O'Connor --- klippy/serialhdl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'klippy/serialhdl.py') diff --git a/klippy/serialhdl.py b/klippy/serialhdl.py index 59482a41..147bb624 100644 --- a/klippy/serialhdl.py +++ b/klippy/serialhdl.py @@ -200,9 +200,9 @@ class SerialReader: self.serialqueue = self.ffi_main.gc( self.ffi_lib.serialqueue_alloc(self.serial_dev.fileno(), 'f', 0), self.ffi_lib.serialqueue_free) - def set_clock_est(self, freq, last_time, last_clock): + def set_clock_est(self, freq, conv_time, conv_clock, last_clock): self.ffi_lib.serialqueue_set_clock_est( - self.serialqueue, freq, last_time, last_clock) + self.serialqueue, freq, conv_time, conv_clock, last_clock) def disconnect(self): if self.serialqueue is not None: self.ffi_lib.serialqueue_exit(self.serialqueue) -- cgit v1.2.3-70-g09d2