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

◆ random8_nolock() [2/3]

u8 fl::math::random::random8_nolock ( u8 min,
u8 max )
inlineprivate

Definition at line 95 of file random.h.

95 {
96 u8 delta = max - min;
97 return random8_nolock(delta) + min;
98 }
u8 random8_nolock() FL_NOEXCEPT
Definition random.h:84
FL_DISABLE_WARNING_PUSH U constexpr common_type_t< T, U > min(T a, U b) FL_NOEXCEPT
Definition math.h:71
unsigned char u8
Definition stdint.h:131
constexpr common_type_t< T, U > max(T a, U b) FL_NOEXCEPT
Definition math.h:75

References FL_NOEXCEPT, fl::max(), fl::min(), and random8_nolock().

+ Here is the call graph for this function: