MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / pvalue

Function pvalue

libraries/StorageManager/examples/StorageTest/StorageTest.cpp:40–43  ·  view source on GitHub ↗

return a predictable value for an offset */

Source from the content-addressed store, hash-verified

38 return a predictable value for an offset
39 */
40static uint8_t pvalue(uint16_t offset)
41{
42 return ((offset * 7) + 13) % 65536;
43}
44
45void setup(void)
46{

Callers 6

setupFunction · 0.85
loopFunction · 0.85
luaV_equalobjFunction · 0.85
mainpositionFunction · 0.85
lua_touserdataFunction · 0.85
lua_topointerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected