Skip to content

Commit 47448b8

Browse files
committed
comment clean-up (cosmetic)
1 parent 4995faf commit 47448b8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

wled00/button.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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+
}

0 commit comments

Comments
 (0)