On Tue, Oct 18, 2022 at 05:08:30PM +0200, Maciek Machnikowski wrote: > This patch adds support for the leapfile in the generic pps source. > Such implementations prevents situtation when TAI offset is not set in the > system (which is true when there is no NTP daemon running that sets it) from > setting the UTC time in the disciplined PHC. > > Leapfile and lstab will only be used when the tai offset read from system is > 0. > > Signed-off-by: Maciek Machnikowski <mac...@machnikowski.net> > --- > ts2phc_generic_pps_source.c | 83 +++++++++++++++++++++++++++++++++---- > 1 file changed, 76 insertions(+), 7 deletions(-) > > diff --git a/ts2phc_generic_pps_source.c b/ts2phc_generic_pps_source.c > index 6842d8e..2815c84 100644 > --- a/ts2phc_generic_pps_source.c > +++ b/ts2phc_generic_pps_source.c > @@ -11,18 +11,42 @@ > #include "ts2phc_generic_pps_source.h" > #include "ts2phc_pps_source_private.h" > #include "util.h" > +#include "lstab.h"
Preserve alphabetical order please. Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel