Skip to content

Commit

Permalink
fix(main): re asign the colors after color color correcting
Browse files Browse the repository at this point in the history
  • Loading branch information
Martijn-Faber committed Jan 15, 2022
1 parent bd32c23 commit 8bf0d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8bf0d35

Please sign in to comment.