conf: return hwtimestamp data in struct

This commit is contained in:
Miroslav Lichvar
2017-01-19 12:11:32 +01:00
parent b198d76676
commit 7a937c7652
4 changed files with 37 additions and 40 deletions

View File

@@ -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