Skip to content

Commit a7fa1da

Browse files
authored
Merge pull request #20 from adafruit/dhalbert-ustruct
Remove obsolete reference to ustruct
2 parents 8cca677 + a56cc36 commit a7fa1da

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

adafruit_mma8451.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@
2828
https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
2929
3030
"""
31-
try:
32-
import struct
33-
except ImportError:
34-
import ustruct as struct
31+
import struct
3532

3633
from micropython import const
3734

0 commit comments

Comments
 (0)