Permalink
Browse files

Updated hsv2rgb_spectrum for the fixed scale8. Fixes #412

  • Loading branch information...
kriegsman committed Feb 22, 2017
1 parent 283167f commit 77416b5dd0f0f5d419217af7b229033b56853ec2
Showing with 1 addition and 1 deletion.
  1. +1 −1 hsv2rgb.cpp
View
@@ -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);
}

0 comments on commit 77416b5

Please sign in to comment.