adafruit / Adafruit_CircuitPython_Register

Python data descriptor classes to represent hardware registers on I2C devices.
MIT License
47 stars 21 forks source link

Don't use offset kwd in struct.unpack_from() #15

Closed dhalbert closed 5 years ago

dhalbert commented 5 years ago

Workaround for https://github.com/adafruit/circuitpython/issues/984 not being fixed yet. Leave this in since it will work for builds before that fix happens as well.

Also would have fixed https://github.com/adafruit/Adafruit_CircuitPython_Motor/issues/11, which accidentally no longer throws an error due to https://github.com/adafruit/Adafruit_CircuitPython_Motor/pull/10.