FastLED 3.10.8
Loading...
Searching...
No Matches

◆ colorburn_fp()

FASTLED_FORCE_INLINE fl::i32 fl::colorburn_fp ( fl::i32 a,
fl::i32 b )

Definition at line 152 of file render_value_fp.h.

152 {
153 if (b <= 0) return 0;
154 fl::i32 result = 255 - ((255 - a) * 255) / b;
155 return result < 0 ? 0 : result;
156}
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31

References FASTLED_FORCE_INLINE, and FL_NO_EXCEPT.