Skip to content

Commit cf823bf

Browse files
authored
Update adafruit_bmp280.py
1 parent 1d388b2 commit cf823bf

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)