diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-04-13 20:03:47 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-04-20 12:52:47 -0400 |
commit | 95fdb68587520e5a36449f58e2d9cf5459924d1c (patch) | |
tree | 36b9a8bad1ad67606e3951f5b6c8d3e1ecef8cea /klippy/extras/filament_switch_sensor.py | |
parent | c106955850fde78f1eb1c68eb7c01a8aba67441f (diff) | |
download | kutter-95fdb68587520e5a36449f58e2d9cf5459924d1c.tar.gz kutter-95fdb68587520e5a36449f58e2d9cf5459924d1c.tar.xz kutter-95fdb68587520e5a36449f58e2d9cf5459924d1c.zip |
adxl345: Move sample timestamp calculation to reusable code
Add a new extract_samples() method to the ChipClockUpdater class that
calculates the sample timestamp for each sample in a list of bulk
sensor reports.
Update the adxl345 code to use that extract_samples() code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/filament_switch_sensor.py')
0 files changed, 0 insertions, 0 deletions