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)