Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Serial-Studio/Serial-Studio
/ LinId
Method
LinId
lib/mdflib/mdflib/src/linmessage.cpp:54–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
}
53
54
void LinMessage::LinId(uint8_t id) {
55
lin_id_ &= ~kLinIdMask;
56
lin_id_ |= (id & kLinIdMask);
57
}
58
59
uint8_t LinMessage::LinId() const {
60
return lin_id_ & kLinIdMask;
Callers
1
TEST_F
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.64