summaryrefslogtreecommitdiffstats
path: root/app/dcf77.c
diff options
context:
space:
mode:
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);