mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 17:38:35 +02:00
LINMessage: Fix timestamp scaling
This commit is contained in:
@@ -178,6 +178,7 @@ bool Decoder::decode(std::shared_ptr<Message>& result, const std::shared_ptr<Pac
|
|||||||
|
|
||||||
LINMessage& msg = *static_cast<LINMessage*>(result.get());
|
LINMessage& msg = *static_cast<LINMessage*>(result.get());
|
||||||
msg.network = packet->network;
|
msg.network = packet->network;
|
||||||
|
msg.timestamp *= timestampResolution;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
case Network::Type::MDIO: {
|
case Network::Type::MDIO: {
|
||||||
|
|||||||
Reference in New Issue
Block a user