removed gc calls

This commit is contained in:
Cole Smith 2022-05-19 17:58:32 -07:00 committed by Kyle Brown
parent d895da5a6a
commit 42221f4a28

View File

@ -1,4 +1,3 @@
import gc
import neopixel
from kmk.extensions import Extension
@ -81,7 +80,6 @@ class Rgb_matrix(Extension):
self.neopixel.fill(rgb)
if self.disable_auto_write:
self.neopixel.show()
gc.collect()
def setBasedOffDisplay(self):
if self.split:
@ -99,7 +97,6 @@ class Rgb_matrix(Extension):
else:
for i, val in enumerate(self.ledDisplay):
self.neopixel[self.keyPos[i]] = (val[0], val[1], val[2])
gc.collect()
def on_runtime_enable(self, sandbox):
return