FastLED 3.9.15
Loading...
Searching...
No Matches

◆ FASTLED_SCALE8_FIXED

#define FASTLED_SCALE8_FIXED   1

Use this to toggle whether or not to use the "fixed" FastLED fl::scale8().

The initial fl::scale8() had a problem where fl::scale8(255,255) would give you 254. This is now fixed, and that fix is enabled by default. However, if for some reason you have code that is not working right as a result of this (e.g. code that was expecting the old fl::scale8() behavior) you can disable it here.

Definition at line 46 of file fastled_config.h.