Skip to content

Commit

Permalink
Merge pull request #31 from adafruit/dhalbert-ustruct
Browse files Browse the repository at this point in the history
Remove obsolete reference to ustruct
  • Loading branch information
gamblor21 authored Dec 22, 2021
2 parents ffafebc + 1756830 commit 946bb26
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions adafruit_adxl34x.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,11 @@
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
"""
from struct import unpack

from micropython import const
from adafruit_bus_device import i2c_device

try:
from struct import unpack
except ImportError:
from ustruct import unpack
__version__ = "0.0.0-auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_ADXL34x.git"
_ADXL345_DEFAULT_ADDRESS = const(0x53) # Assumes ALT address pin low
Expand Down

0 comments on commit 946bb26

Please sign in to comment.