conf: add precision option to hwtimestamp directive

This commit is contained in:
Miroslav Lichvar
2017-01-19 12:40:18 +01:00
parent 98f5d05925
commit 1436d9961f
4 changed files with 10 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ add_interface(CNF_HwTsInterface *conf_iface)
iface->l2_udp4_ntp_start = 42;
iface->l2_udp6_ntp_start = 62;
iface->precision = 100.0e-9;
iface->precision = conf_iface->precision;
iface->tx_comp = conf_iface->tx_comp;
iface->rx_comp = conf_iface->rx_comp;