Skip to content

Commit

Permalink
Updated hsv2rgb_spectrum for the fixed scale8. Fixes #412
Browse files Browse the repository at this point in the history
  • Loading branch information
kriegsman committed Feb 22, 2017
1 parent 283167f commit 77416b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hsv2rgb.cpp
Expand Up @@ -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);
}

Expand Down

0 comments on commit 77416b5

Please sign in to comment.