mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
GlobalTimeSyncSlave logs whether it is suppressed or not
This commit is contained in:
parent
639f326341
commit
8fbcf82cd6
@ -14,9 +14,9 @@ void GlobalTimeSyncSlave::adjustFromMsg(const ReceivedDataStructure<protocol::Gl
|
||||
assert(msg.prev_utc_usec > 0);
|
||||
const UtcDuration adjustment = UtcTime::fromUSec(msg.prev_utc_usec) - prev_ts_utc_;
|
||||
|
||||
UAVCAN_TRACE("GlobalTimeSyncSlave", "Adjustment: usec=%lli snid=%i iface=%i",
|
||||
UAVCAN_TRACE("GlobalTimeSyncSlave", "Adjustment: usec=%lli snid=%i iface=%i suppress=%i",
|
||||
static_cast<long long>(adjustment.toUSec()),
|
||||
int(msg.getSrcNodeID().get()), int(msg.getIfaceIndex()));
|
||||
int(msg.getSrcNodeID().get()), int(msg.getIfaceIndex()), int(suppressed_));
|
||||
|
||||
if (!suppressed_)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user