Skip to content

Commit

Permalink
Merge pull request #37 from boltar/master
Browse files Browse the repository at this point in the history
Update rpi_ws281x.py
  • Loading branch information
Gadgetoid authored Jan 23, 2020
2 parents 4371a7a + f8533ca commit f52104c
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 f52104c

Please sign in to comment.