Skip to content

Commit

Permalink
Merge pull request #91 from adafruit/dhalbert-ustruct
Browse files Browse the repository at this point in the history
Remove obsolete references to ustruct
  • Loading branch information
TheKitty committed Dec 22, 2021
2 parents f06ac21 + 61302b7 commit 9d232a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions adafruit_seesaw/neopixel.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@
`adafruit_seesaw.neopixel`
====================================================
"""
import struct

try:
import struct
except ImportError:
import ustruct as struct
try:
from micropython import const
except ImportError:
Expand Down
5 changes: 1 addition & 4 deletions adafruit_seesaw/seesaw.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@
# compatible classes so we won't bother with some lints until then.
# pylint: disable=missing-docstring,invalid-name,too-many-public-methods,no-name-in-module

import struct
import time

try:
import struct
except ImportError:
import ustruct as struct
try:
from micropython import const
except ImportError:
Expand Down

0 comments on commit 9d232a5

Please sign in to comment.