aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/lis2dw.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2023-12-16 14:07:06 -0500
committerKevin O'Connor <kevin@koconnor.net>2023-12-26 11:47:21 -0500
commitffd44c02194ecabdd559cac1654aa9a65ecb2c28 (patch)
tree2cf34055dd904c67c37512d0c57201b1f5abd50e /klippy/extras/lis2dw.py
parentf4c8f0bf88743fac33bb4c3f9ea7c31bdb505467 (diff)
downloadkutter-ffd44c02194ecabdd559cac1654aa9a65ecb2c28.tar.gz
kutter-ffd44c02194ecabdd559cac1654aa9a65ecb2c28.tar.xz
kutter-ffd44c02194ecabdd559cac1654aa9a65ecb2c28.zip
bulk_sensor: Move APIDumpHelper() from motion_report.py to bulk_sensor.py
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/lis2dw.py')
-rw-r--r--klippy/extras/lis2dw.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/lis2dw.py b/klippy/extras/lis2dw.py
index 82673fc8..61d9add7 100644
--- a/klippy/extras/lis2dw.py
+++ b/klippy/extras/lis2dw.py
@@ -5,7 +5,7 @@
#
# This file may be distributed under the terms of the GNU GPLv3 license.
import logging
-from . import bus, motion_report, adxl345, bulk_sensor
+from . import bus, adxl345, bulk_sensor
# LIS2DW registers
REG_LIS2DW_WHO_AM_I_ADDR = 0x0F
@@ -63,7 +63,7 @@ class LIS2DW:
BYTES_PER_SAMPLE)
self.last_error_count = 0
# API server endpoints
- self.api_dump = motion_report.APIDumpHelper(
+ self.api_dump = bulk_sensor.APIDumpHelper(
self.printer, self._api_update, self._api_startstop, API_UPDATES)
self.name = config.get_name().split()[-1]
wh = self.printer.lookup_object('webhooks')