diff --git a/adafruit_seesaw/neopixel.py b/adafruit_seesaw/neopixel.py index 68189c8..f55c1ea 100644 --- a/adafruit_seesaw/neopixel.py +++ b/adafruit_seesaw/neopixel.py @@ -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: diff --git a/adafruit_seesaw/seesaw.py b/adafruit_seesaw/seesaw.py index 20eb0d3..60fbd72 100644 --- a/adafruit_seesaw/seesaw.py +++ b/adafruit_seesaw/seesaw.py @@ -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: