Skip to content

Commit 8bf44db

Browse files
authored
Merge pull request #26 from adafruit/dhalbert-ustruct
Remove obsolete reference to ustruct
2 parents 72268df + a6583c1 commit 8bf44db

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

adafruit_l3gd20.py

+2-10
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,12 @@
3030
"""
3131

3232
# imports
33-
34-
__version__ = "0.0.0-auto.0"
35-
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_l3gd20.git"
36-
37-
3833
from math import radians
34+
from struct import unpack
35+
3936
from micropython import const
4037
from adafruit_register.i2c_struct import Struct
4138

42-
try:
43-
from struct import unpack
44-
except ImportError:
45-
from ustruct import unpack
46-
4739
__version__ = "0.0.0-auto.0"
4840
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_L3GD20.git"
4941

0 commit comments

Comments
 (0)