LINMessage: Fix timestamp scaling
parent
34cacf4cf2
commit
c4ce803d62
|
|
@ -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: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue