Skip to content

Commit

Permalink
Merge pull request #15 from tcfranks/main
Browse files Browse the repository at this point in the history
resolves #14 Missing Type Annotations
  • Loading branch information
tekktrik authored Aug 24, 2022
2 parents ca629a1 + 1673431 commit 199b3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_ssd1608.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
class SSD1608(displayio.EPaperDisplay):
"""SSD1608 driver"""

def __init__(self, bus, **kwargs):
def __init__(self, bus: displayio.FourWire, **kwargs) -> None:
start_sequence = bytearray(_START_SEQUENCE)
width = kwargs["width"]
start_sequence[4] = (width - 1) & 0xFF
Expand Down

0 comments on commit 199b3aa

Please sign in to comment.