Skip to content

Commit

Permalink
Reset if pin is specified.
Browse files Browse the repository at this point in the history
Fix regression raised in #33.
  • Loading branch information
Gadgetoid committed Nov 11, 2024
1 parent f7b386e commit 74d4575
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions st7789/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def __init__(
# Setup reset as output (if provided).
if rst is not None:
self._rst = gpiodevice.get_pin(rst, "st7789-rst", OUTL)
self.reset()

self._init()

Expand Down

0 comments on commit 74d4575

Please sign in to comment.