mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
conf: return hwtimestamp data in struct
This commit is contained in:
5
ntp_io.c
5
ntp_io.c
@@ -365,9 +365,8 @@ NIO_Initialise(int family)
|
||||
NIO_Linux_Initialise();
|
||||
#else
|
||||
if (1) {
|
||||
double tx_comp, rx_comp;
|
||||
char *name;
|
||||
if (CNF_GetHwTsInterface(0, &name, &tx_comp, &rx_comp))
|
||||
CNF_HwTsInterface *conf_iface;
|
||||
if (CNF_GetHwTsInterface(0, &conf_iface))
|
||||
LOG_FATAL(LOGF_NtpIO, "HW timestamping not supported");
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user