resolves #14 Missing Type Annotations
This commit is contained in:
parent
ca629a1e12
commit
167343146c
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ _STOP_SEQUENCE = b"\x10\x01\x01" # Enter deep sleep
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue