1290 {
1291
1292
1293
1295 return 0;
1296 }
1297 constexpr fl::s16x16 inv_255_fp(1.0f / 255.0f);
1301
1302
1303 const fl::u32 scaled =
1304 (
static_cast<fl::u32
>(r.
raw()) * 255u + 0x8000u) >> 16;
1306 if (result == 0) {
1308 }
1310}
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
constexpr i32 raw() const FL_NOEXCEPT
static FASTLED_FORCE_INLINE s16x16 pow(s16x16 base, s16x16 exp) FL_NOEXCEPT
expected< T, E > result
Alias for expected (Rust-style naming)