mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-22 22:24:02 -06:00
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>
This commit is contained in:
parent
266e96621c
commit
2dc4cfc5df
4 changed files with 13 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue