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

Method add_entropy

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

Source from the content-addressed store, hash-verified

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
43 static constexpr result_type minimum() FL_NOEXCEPT { return 0; }
44 static constexpr result_type maximum() FL_NOEXCEPT { return 4294967295U; }

Callers 1

FL_TEST_FILEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected