From 8bf0d35d8f776dcdbd674257dacd85a169cc8931 Mon Sep 17 00:00:00 2001 From: Martijn-Faber Date: Sat, 15 Jan 2022 11:01:25 +0100 Subject: [PATCH] fix(main): re asign the colors after color color correcting --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 744c8bb..c3b50b8 100644 --- a/main.go +++ b/main.go @@ -43,7 +43,7 @@ func main() { clrs := color.InterpolateColors(prevClrs, nextClrs, (i + 1), config.InterpolSteps) for _, clr := range clrs { - color.CorrectColor(clr, color.Rgb{R: config.RCorrection, G: config.GCorrection, B: config.BCorrection}) + clrs[i] = color.CorrectColor(clr, color.Rgb{R: config.RCorrection, G: config.GCorrection, B: config.BCorrection}) } err = wled.Send(clrs)