diff options
author | root <root@lab.panaceas.james.local> | 2019-02-19 23:00:23 +0000 |
---|---|---|
committer | root <root@lab.panaceas.james.local> | 2019-02-19 23:00:23 +0000 |
commit | 971cc458aea21832a20b1b087185659d8e9ec2b3 (patch) | |
tree | f0cf4843a1b71c5860392c17ccc86a963d53b4e3 /app/msf.c | |
parent | 379b0ec3e5eacdde822966c84062bea41da7ae89 (diff) | |
download | clock-971cc458aea21832a20b1b087185659d8e9ec2b3.tar.gz clock-971cc458aea21832a20b1b087185659d8e9ec2b3.tar.bz2 clock-971cc458aea21832a20b1b087185659d8e9ec2b3.zip |
fix offsets
Diffstat (limited to 'app/msf.c')
-rw-r--r-- | app/msf.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |