Try to fix memory leak

This commit is contained in:
Just Call Me Koko
2023-07-14 08:29:24 -04:00
parent ec0cc676ed
commit f854a30ed6
5 changed files with 83 additions and 8 deletions

View File

@@ -66,7 +66,7 @@ void LedInterface::ledOff() {
this->setColor(0, 0, 0);
}
void LedInterface::rainbow() {
void LedInterface::rainbow() {
strip.setPixelColor(0, this->Wheel((0 * 256 / 100 + this->wheel_pos) % 256));
strip.show();