Skip to content

Commit b3c54d6

Browse files
authored
Merge pull request #34 from adafruit/dhalbert-ustruct
Remove obsolete reference to ustruct
2 parents 1d388b2 + cf823bf commit b3c54d6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

adafruit_bmp280.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@
2525
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
2626
"""
2727
import math
28+
import struct
2829
from time import sleep
2930

30-
try:
31-
import struct
32-
except ImportError:
33-
import ustruct as struct
3431
from micropython import const
3532

3633
__version__ = "0.0.0-auto.0"

0 commit comments

Comments
 (0)