Merge pull request #13 from tremby/fix-blazing-trail-decay

Fix code typo in blazing trail decay
pull/365/head
Gergely Nagy 7 years ago committed by GitHub
commit 506f8a51d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -115,7 +115,7 @@ cRGB BlazingTrail::compute(uint8_t *step) {
color.g = min(*step * color.g / 255, 255); color.g = min(*step * color.g / 255, 255);
} }
if (*step >= 0xf0 - 30) if (*step >= 0xff - 30)
*step -= 1; *step -= 1;
else if (*step >= 0x40) else if (*step >= 0x40)
*step -= 16; *step -= 16;

Loading…
Cancel
Save