From f29eb23984bf655900ae4a8bbcbb19cbfaffbf41 Mon Sep 17 00:00:00 2001 From: Alec Delaney <89490472+tekktrik@users.noreply.github.com> Date: Fri, 28 Apr 2023 08:26:43 -0400 Subject: [PATCH] Fix Optional type annotation --- adafruit_rgb_display/st7735.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_rgb_display/st7735.py b/adafruit_rgb_display/st7735.py index daa5020..0191a15 100644 --- a/adafruit_rgb_display/st7735.py +++ b/adafruit_rgb_display/st7735.py @@ -193,7 +193,7 @@ def __init__( spi: busio.SPI, dc: digitalio.DigitalInOut, cs: digitalio.DigitalInOut, - rst: Optional[digitalio] = None, + rst: Optional[digitalio.DigitalInOut] = None, width: int = 128, height: int = 160, baudrate: int = 16000000,