Skip to content

Commit f97ee1a

Browse files
authored
Merge pull request #34 from adafruit/dhalbert-ustruct
Remove obsolete reference to ustruct
2 parents 494e4a7 + 70ce34f commit f97ee1a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

adafruit_lsm9ds1.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,10 @@
3434
__version__ = "0.0.0-auto.0"
3535
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LSM9DS1.git"
3636

37+
import struct
3738
import time
3839
from math import radians
3940

40-
try:
41-
import struct
42-
except ImportError:
43-
import ustruct as struct
44-
4541
from adafruit_bus_device import i2c_device
4642
from adafruit_bus_device import spi_device
4743
from micropython import const

0 commit comments

Comments
 (0)