Skip to content

Commit

Permalink
Merge pull request #136 from FoamyGuy/8.x_compatibility
Browse files Browse the repository at this point in the history
8.x backward compatibility
  • Loading branch information
makermelissa authored Jul 25, 2024
2 parents 4ac2bf6 + 7cb15fb commit 06038e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions displayio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"""
import threading
from typing import Union

import fourwire
from busdisplay import BusDisplay
from busdisplay._displaybus import _DisplayBus
from epaperdisplay import EPaperDisplay
Expand All @@ -30,6 +32,11 @@
from ._tilegrid import TileGrid
from ._constants import CIRCUITPY_DISPLAY_LIMIT

# 8.x Backwards compatibility, remove at 10.x or
# when compatibility is removed from core displayio
Display = BusDisplay
FourWire = fourwire.FourWire

__version__ = "0.0.0+auto.0"
__repo__ = "https://github.com/adafruit/Adafruit_Blinka_displayio.git"

Expand Down

0 comments on commit 06038e9

Please sign in to comment.