Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'clockless_trinket.h')
-rw-r--r--clockless_trinket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clockless_trinket.h b/clockless_trinket.h
index f0637a70..0d3451b7 100644
--- a/clockless_trinket.h
+++ b/clockless_trinket.h
@@ -257,7 +257,7 @@ protected:
ADJDITHER2(d2,e2);
cli();
- if((TCNT0-lasttime) > ((WAIT_TIME-10)/US_PER_TICK)) { sei(); return; }
+ if((TCNT0-lasttime) > ((WAIT_TIME-INTERRUPT_THRESHOLD)/US_PER_TICK)) { sei(); return; }
// Sum of the clock counts across each row should be 10 for 8Mhz, WS2811
// The values in the D1/D2/D3 indicate how many cycles the previous column takes
// to allow things to line back up.