MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / setPartial

Method setPartial

libraries/RunningAverage/RunningAverage.cpp:241–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239
240
241void RunningAverage::setPartial(const uint16_t partial)
242{
243 _partial = partial;
244 if ((_partial == 0) || (_partial > _size)) _partial = _size;
245 clear();
246}
247
248
249////////////////////////////////////////////////////////////////

Callers 1

unittestFunction · 0.80

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.64