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

Method setAll

libraries/NibbleArray/nibbleArray.cpp:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62
63void nibbleArray::setAll(uint8_t value)
64{
65 uint8_t v = value & 0x0F;
66 v |= (v << 4);
67 memset(_arr, v, (_size + 1)/2);
68}
69
70
71// -- END OF FILE --

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36