MCPcopy Create free account
hub / github.com/FastLED/FastLED / set_seed

Method set_seed

src/fl/math/random.h:39–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 result_type operator()(result_type min, result_type max) FL_NOEXCEPT { return generate_nolock(min, max); }
38
39 void set_seed(u16 seed) FL_NOEXCEPT { mSeed = seed; }
40 u16 get_seed() const FL_NOEXCEPT { return mSeed; }
41 void add_entropy(u16 entropy) FL_NOEXCEPT { mSeed += entropy; }
42

Callers 1

FL_TEST_FILEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected