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

Method update

src/fl/math/filter/filter.h:494–494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

492 WeightedMovingAverage() FL_NOEXCEPT = default;
493 explicit WeightedMovingAverage(fl::size capacity) : mImpl(capacity) {}
494 FASTLED_FORCE_INLINE T update(T input) { return mImpl.update(input); }
495 FASTLED_FORCE_INLINE T update(fl::span<const T> values) { return mImpl.update(values); }
496 FASTLED_FORCE_INLINE T value() const { return mImpl.value(); }
497 FASTLED_FORCE_INLINE void reset() { mImpl.reset(); }

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected