LIN: Fix protected ID not assigned
parent
9ef93eb73e
commit
4cf35acf6c
|
|
@ -115,7 +115,7 @@ bool HardwareLINPacket::EncodeFromMessage(LINMessage& message, std::vector<uint8
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
message.calcProtectedID(message.ID);
|
message.protectedID = message.calcProtectedID(message.ID);
|
||||||
bytestream.insert(bytestream.end(),
|
bytestream.insert(bytestream.end(),
|
||||||
{
|
{
|
||||||
static_cast<uint8_t>(0x00u),
|
static_cast<uint8_t>(0x00u),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue