aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/htu21d.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/htu21d.py')
-rw-r--r--klippy/extras/htu21d.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/klippy/extras/htu21d.py b/klippy/extras/htu21d.py
index 3c9e0590..dd84bb27 100644
--- a/klippy/extras/htu21d.py
+++ b/klippy/extras/htu21d.py
@@ -3,6 +3,8 @@
# Copyright (C) 2020 Lucio Tarantino <lucio.tarantino@gmail.com>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
+import logging
+from . import bus
######################################################################
# NOTE: The implementation requires write support of length 0
@@ -17,9 +19,6 @@
#
######################################################################
-import bus
-import logging
-
HTU21D_I2C_ADDR= 0x40
HTU21D_COMMANDS = {