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

Method begin

libraries/GAMMA/gamma.cpp:36–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36bool GAMMA::begin()
37{
38 if (_table == NULL)
39 {
40 _table = (uint8_t *) malloc(_size + 1);
41 }
42 if (_table == NULL) return false;
43 setGamma(2.8);
44 return true;
45};
46
47
48bool GAMMA::setGamma(float gamma)

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36