LIN: Fix protected ID not assigned

pull/61/head
Kyle Johannes 2023-07-12 00:05:12 +00:00
parent 9ef93eb73e
commit 4cf35acf6c
1 changed files with 1 additions and 1 deletions

View File

@ -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),