From ffd44c02194ecabdd559cac1654aa9a65ecb2c28 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 16 Dec 2023 14:07:06 -0500 Subject: bulk_sensor: Move APIDumpHelper() from motion_report.py to bulk_sensor.py Signed-off-by: Kevin O'Connor --- klippy/extras/mpu9250.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'klippy/extras/mpu9250.py') diff --git a/klippy/extras/mpu9250.py b/klippy/extras/mpu9250.py index d9eb242e..6d5cdcf7 100644 --- a/klippy/extras/mpu9250.py +++ b/klippy/extras/mpu9250.py @@ -5,7 +5,7 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. import logging, time -from . import bus, motion_report, adxl345, bulk_sensor +from . import bus, adxl345, bulk_sensor MPU9250_ADDR = 0x68 @@ -80,7 +80,7 @@ class MPU9250: 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') -- cgit v1.2.3-70-g09d2