LIN: Fix protected ID not assigned

This commit is contained in:
Kyle Johannes
2023-07-12 00:05:12 +00:00
parent 9ef93eb73e
commit 4cf35acf6c
+1 -1
View File
@@ -115,7 +115,7 @@ bool HardwareLINPacket::EncodeFromMessage(LINMessage& message, std::vector<uint8
default:
break;
}
message.calcProtectedID(message.ID);
message.protectedID = message.calcProtectedID(message.ID);
bytestream.insert(bytestream.end(),
{
static_cast<uint8_t>(0x00u),