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:
-rw-r--r--hsv2rgb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hsv2rgb.cpp b/hsv2rgb.cpp
index b4d76a1d..cdb576bc 100644
--- a/hsv2rgb.cpp
+++ b/hsv2rgb.cpp
@@ -256,7 +256,7 @@ void hsv2rgb_raw_avr(const struct CHSV & hsv, struct CRGB & rgb)
void hsv2rgb_spectrum( const CHSV& hsv, CRGB& rgb)
{
CHSV hsv2(hsv);
- hsv2.hue = scale8( hsv2.hue, 192);
+ hsv2.hue = scale8( hsv2.hue, 191);
hsv2rgb_raw(hsv2, rgb);
}