mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 16:19:06 +08:00
CAN iface mock uses monotonic timestamping instead of UTC
This commit is contained in:
parent
980659ebb5
commit
a9a86bc151
@ -43,7 +43,7 @@ public:
|
||||
|
||||
void pushRx(uavcan::CanFrame frame)
|
||||
{
|
||||
rx.push(FrameWithTime(frame, clockmock.utc));
|
||||
rx.push(FrameWithTime(frame, clockmock.monotonic));
|
||||
}
|
||||
|
||||
bool matchAndPopTx(const uavcan::CanFrame& frame, uint64_t tx_deadline)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user