1376 {
1377
1378
1379
1381 return 0;
1382 }
1383 constexpr fl::s16x16 inv_255_fp(1.0f / 255.0f);
1387
1388
1389 const fl::u32 scaled =
1390 (
static_cast<fl::u32
>(r.
raw()) * 255u + 0x8000u) >> 16;
1392 if (result == 0) {
1394 }
1396}
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
constexpr i32 raw() const FL_NO_EXCEPT
static FASTLED_FORCE_INLINE s16x16 pow(s16x16 base, s16x16 exp) FL_NO_EXCEPT
expected< T, E > result
Alias for expected (Rust-style naming)