File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -171,13 +171,12 @@ void handleAnalog(uint8_t b)
171171 // remove noise & reduce frequency of UI updates
172172 if (abs (int (aRead) - int (oldRead[b])) <= POT_SENSITIVITY) return ; // no significant change in reading
173173
174- // Un-Comment the next lines if you still see flickering related to potentiometer
174+ // Un-comment the next lines if you still see flickering related to potentiometer
175175 // This waits until strip finishes updating (why: strip was not updating at the start of handleButton() but may have started during analogRead()?)
176176 // unsigned long wait_started = millis();
177177 // while(strip.isUpdating() && (millis() - wait_started < STRIP_WAIT_TIME)) {
178178 // delay(1);
179179 // }
180- // if (strip.isUpdating()) return; // give up
181180
182181 oldRead[b] = aRead;
183182
@@ -392,4 +391,4 @@ void handleIO()
392391 }
393392 offMode = true ;
394393 }
395- }
394+ }
You can’t perform that action at this time.
0 commit comments