mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-20 21:27:53 -06:00
adxl345: Implement timing via new adxl345_status messages
Query the adxl345 message counter every 100ms so that accurate timing can be obtained during measurements. This allows the adxl345 data to be exported with timestamps while captures are running. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
dd95f80d9d
commit
e34137582d
3 changed files with 168 additions and 99 deletions
|
@ -181,8 +181,6 @@ class ResonanceTester:
|
|||
gcmd.respond_info(
|
||||
"Writing raw accelerometer data to "
|
||||
"%s file" % (raw_name,))
|
||||
gcmd.respond_info("%s-axis accelerometer stats: %s" % (
|
||||
chip_axis, aclient.get_stats(),))
|
||||
if helper is None:
|
||||
continue
|
||||
for chip_axis, chip_values in raw_values:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue