A2B: Set timestamp field in HardwareA2BPacket::DecodeToMessage

This commit is contained in:
Yasser Yassine
2024-01-22 22:44:06 +00:00
parent a44952be13
commit 1dfed4c9c4
3 changed files with 21 additions and 9 deletions
+1
View File
@@ -159,6 +159,7 @@ bool Decoder::decode(std::shared_ptr<Message>& result, const std::shared_ptr<Pac
A2BMessage& msg = *static_cast<A2BMessage*>(result.get());
msg.network = packet->network;
msg.timestamp *= timestampResolution;
return true;
}
case Network::Type::LIN: {