From 971cc458aea21832a20b1b087185659d8e9ec2b3 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Feb 2019 23:00:23 +0000 Subject: fix offsets --- app/msf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'app/msf.c') diff --git a/app/msf.c b/app/msf.c index 69790ff..96c3afe 100644 --- a/app/msf.c +++ b/app/msf.c @@ -82,15 +82,14 @@ static void process_bits (uint64_t abs) u.mday = bcd (bitsa, 30, 35); u.hour = bcd (bitsa, 39, 44); u.minute = bcd (bitsa, 45, 51); - u.second = 59; + u.second = 0; u.nanosecond = 0; /* This is always valid a check_min_ident will fail for leap seconds*/ msf_time = time_utc_to_epoch (u); - msf_time.s -= 59; - // pll_set_offset (msf_time, abs); + pll_set_offset (msf_time, abs); stats_stamp (u, abs); dump_bits ("msfa", bitsa); -- cgit v1.2.3