MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / sumBytes

Method sumBytes

include/VectorDisplay.h:319–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317 }
318
319 uint8_t sumBytes(void* data, int length) {
320 uint8_t* p = (uint8_t*)data;
321 uint8_t s = 0;
322 while(length-- > 0)
323 s += *p++;
324 return s;
325 }
326 void display(bool a = false) {
327 }
328

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected