From 42221f4a287007cfc82c83f8398e39abb570bcbf Mon Sep 17 00:00:00 2001 From: Cole Smith Date: Thu, 19 May 2022 17:58:32 -0700 Subject: [PATCH] removed gc calls --- kmk/extensions/peg_rgb_matrix.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/kmk/extensions/peg_rgb_matrix.py b/kmk/extensions/peg_rgb_matrix.py index 57d0b6c..3cd5009 100644 --- a/kmk/extensions/peg_rgb_matrix.py +++ b/kmk/extensions/peg_rgb_matrix.py @@ -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