diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2023-12-27 12:58:53 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-01-19 11:55:15 -0500 |
commit | 2dc4cfc5df3bd2b3e040a73b86d59c7a3883fc7f (patch) | |
tree | 42a929667eb8d6d2b24f3c2f959f2d4839dc1bd6 /klippy/extras/lis2dw.py | |
parent | 266e96621c0133e1192bbaec5addb6bcf443a203 (diff) | |
download | kutter-2dc4cfc5df3bd2b3e040a73b86d59c7a3883fc7f.tar.gz kutter-2dc4cfc5df3bd2b3e040a73b86d59c7a3883fc7f.tar.xz kutter-2dc4cfc5df3bd2b3e040a73b86d59c7a3883fc7f.zip |
bulk_sensor: Don't assume chip_clock is zero on start of queries
Send an explicit clock query in ChipClockUpdater to seed the initial
clock.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/lis2dw.py')
-rw-r--r-- | klippy/extras/lis2dw.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/lis2dw.py b/klippy/extras/lis2dw.py index 74911e6f..469a4f0d 100644 --- a/klippy/extras/lis2dw.py +++ b/klippy/extras/lis2dw.py @@ -162,7 +162,7 @@ class LIS2DW: reqclock=reqclock) logging.info("LIS2DW starting '%s' measurements", self.name) # Initialize clock tracking - self.clock_updater.note_start(reqclock) + self.clock_updater.note_start() self.last_error_count = 0 def _finish_measurements(self): # Halt bulk reading |