Skip to content

fix for 3.0 compat #2

Closed
Closed
@ladyada

Description

@ladyada

this line https://github.com/adafruit/Adafruit_CircuitPython_FXOS8700/blob/master/adafruit_fxos8700.py#L34

should be

try:
    import ustruct as struct
except:
    import struct

and then change all uses of 'ustruct' to 'struct' for 3.0 compatibility!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions