summaryrefslogtreecommitdiffstats
path: root/app/dcf77.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/dcf77.c
parente761edee5e8ef7106fc8080fc386447e7956be71 (diff)
downloadclock-904bc0ebdb9c059b7b1d276829bad766f73dc3e9.tar.gz
clock-904bc0ebdb9c059b7b1d276829bad766f73dc3e9.tar.bz2
clock-904bc0ebdb9c059b7b1d276829bad766f73dc3e9.zip
switch to stlink, blinky
Diffstat (limited to 'app/dcf77.c')
-rw-r--r--app/dcf77.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/dcf77.c b/app/dcf77.c
index 909188b..2a952cd 100644
--- a/app/dcf77.c
+++ b/app/dcf77.c
@@ -72,7 +72,7 @@ static void process_bits (uint64_t abs)
if (bits[17]) dcf77_time.s -= 3600; /*CEST*/
- dcf77_last_happy = abs - (int64_t) 60 * (int64_t) HZ;
+ dcf77_last_happy = make_happy (abs, 60);
pll_set_offset (dcf77_time, abs);