FastLED 3.10.6
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_NO_EXCEPT
Definition random.h:84
unsigned char u8
Definition stdint.h:131
constexpr common_type_t< T, U > max(T a, U b) FL_NO_EXCEPT
Definition math.h:75
FL_DISABLE_WARNING_PUSH U constexpr common_type_t< T, U > min(T a, U b) FL_NO_EXCEPT
Definition math.h:71

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

+ Here is the call graph for this function: