summaryrefslogtreecommitdiffstats
path: root/app/msf.c
diff options
context:
space:
mode:
authorroot <root@lab.panaceas.james.local>2019-02-22 10:45:35 +0000
committerroot <root@lab.panaceas.james.local>2019-02-22 10:45:35 +0000
commit904bc0ebdb9c059b7b1d276829bad766f73dc3e9 (patch)
tree30c01ecf79b72c6953d593d2d3dccfbcd31f76cd /app/msf.c
parente761edee5e8ef7106fc8080fc386447e7956be71 (diff)
downloadclock-904bc0ebdb9c059b7b1d276829bad766f73dc3e9.tar.gz
clock-904bc0ebdb9c059b7b1d276829bad766f73dc3e9.tar.bz2
clock-904bc0ebdb9c059b7b1d276829bad766f73dc3e9.zip
switch to stlink, blinky
Diffstat (limited to 'app/msf.c')
-rw-r--r--app/msf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/msf.c b/app/msf.c
index 4b3c350..82dea7d 100644
--- a/app/msf.c
+++ b/app/msf.c
@@ -104,7 +104,7 @@ static void process_bits (uint64_t abs)
msf_time = time_utc_to_epoch (u);
- msf_last_happy = abs - (int64_t) 120 * (int64_t) HZ;
+ msf_last_happy = make_happy (abs, 0);
pll_set_offset (msf_time, abs);