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:
authorMark Kriegsman <kriegsman@tr.org>2014-10-14 20:16:37 +0400
committerMark Kriegsman <kriegsman@tr.org>2014-10-14 20:16:37 +0400
commita96f0213e889ad956c0761d3c8e1c45438b9ab39 (patch)
tree1639247cfb38a349440dfa2c1e6f0bc95977c09a
parent3e312c671122164efd41a679eb58c8950222a611 (diff)
Typo fix.
-rw-r--r--colorutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/colorutils.h b/colorutils.h
index 3ca9829a..55772c7f 100644
--- a/colorutils.h
+++ b/colorutils.h
@@ -84,7 +84,7 @@ void fill_gradient( T* targetArray,
// then set the starthue to the endhue.
// This lets us ramp smoothly up from black or white, regardless
// of what 'hue' was set in the startcolor (since it doesn't matter)
- if( statcolor.value == 0 || startcolor.saturation == 0) {
+ if( startcolor.value == 0 || startcolor.saturation == 0) {
startcolor.hue = endcolor.hue;
}