Skip to content

Commit

Permalink
pmc: print cumulativeScaledRateOffset as offset.
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Lichvar <[email protected]>
  • Loading branch information
mlichvar authored and richardcochran committed Feb 25, 2014
1 parent 7d773a9 commit c0fd772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ static void pmc_show(struct ptp_message *msg, FILE *fp)
IFMT "gmIdentity %s",
tsn->master_offset,
tsn->ingress_time,
1.0 + (tsn->cumulativeScaledRateOffset + 0.0) / P41,
(tsn->cumulativeScaledRateOffset + 0.0) / P41,
tsn->scaledLastGmPhaseChange,
tsn->gmTimeBaseIndicator,
tsn->lastGmPhaseChange.nanoseconds_msb,
Expand Down

0 comments on commit c0fd772

Please sign in to comment.