ArduinoFFT update

shadow variables
This commit is contained in:
Blaz Kristan
2024-04-17 18:52:35 +02:00
parent d126611e87
commit 3e20724058
3 changed files with 5 additions and 6 deletions

View File

@@ -276,8 +276,8 @@ bool deserializeSegment(JsonObject elem, byte it, byte presetId)
seg.fill(BLACK);
}
uint16_t start = 0, stop = 0;
byte set = 0; //0 nothing set, 1 start set, 2 range set
start = 0, stop = 0;
set = 0; //0 nothing set, 1 start set, 2 range set
for (size_t i = 0; i < iarr.size(); i++) {
if(iarr[i].is<JsonInteger>()) {