Skip to content

Commit 11e2cea

Browse files
authored
Merge pull request #58 from adafruit/dhalbert-ustruct
Remove obsolete reference to ustruct
2 parents 4f4d2a4 + 7592825 commit 11e2cea

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

adafruit_bme280/basic.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,10 @@
3030
3131
"""
3232
import math
33+
import struct
3334
from time import sleep
34-
from micropython import const
35-
36-
try:
37-
import struct
38-
except ImportError:
39-
import ustruct as struct
4035

36+
from micropython import const
4137

4238
__version__ = "2.6.4"
4339
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BME280.git"

0 commit comments

Comments
 (0)