mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
sys_linux: add support for PTP_SYS_OFFSET_PRECISE
This is for hardware that can precisely cross timestamp the PHC with the system clock.
This commit is contained in:
@@ -83,7 +83,7 @@ static int phc_poll(RCL_Instance instance)
|
||||
|
||||
phc = (struct phc_instance *)RCL_GetDriverData(instance);
|
||||
|
||||
if (!SYS_Linux_GetPHCSample(phc->fd, RCL_GetPrecision(instance), &phc->mode,
|
||||
if (!SYS_Linux_GetPHCSample(phc->fd, 0, RCL_GetPrecision(instance), &phc->mode,
|
||||
&phc_ts, &sys_ts, &err))
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user