Skip to content

Commit

Permalink
Update rpi_ws281x.py
Browse files Browse the repository at this point in the history
fixed a typo missed an underscore!)
  • Loading branch information
boltar committed Jan 23, 2020
1 parent 26a7920 commit f8533ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/rpi_ws281x/rpi_ws281x.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __init__(self, num, pin, freq_hz=800000, dma=10, invert=False,
def _cleanup(self):
# Clean up memory used by the library when not needed anymore.
if self._leds is not None:
ws.ws2811_fini(self.leds)
ws.ws2811_fini(self._leds)
ws.delete_ws2811_t(self._leds)
self._leds = None
self._channel = None
Expand Down

0 comments on commit f8533ca

Please sign in to comment.