Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RobTillaart/Arduino
/ begin
Method
begin
libraries/Fletcher/Fletcher16.cpp:20–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
19
20
void Fletcher16::begin(uint8_t s1, uint8_t s2)
21
{
22
_s1 = (s1 == FLETCHER_16) ? 0 : s1;
23
_s2 = (s2 == FLETCHER_16) ? 0 : s2;
24
_count = 0;
25
}
26
27
28
void Fletcher16::add(uint8_t value)
Callers
1
unittest
Function · 0.45
Calls
no outgoing calls
Tested by
1
unittest
Function · 0.36