Skip to content

Commit b4aea8f

Browse files
authored
Merge pull request #21 from adafruit/dhalbert-ustruct
Remove obsolete reference to ustruct
2 parents c86b4e9 + b7da2a2 commit b4aea8f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

adafruit_mpl3115a2.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,10 @@
2626
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
2727
2828
"""
29+
import struct
2930
import time
3031

3132
from micropython import const
32-
33-
try:
34-
import ustruct as struct
35-
except ImportError:
36-
import struct
37-
3833
from adafruit_bus_device import i2c_device
3934

4035

0 commit comments

Comments
 (0)