summaryrefslogtreecommitdiffstats
path: root/app/stats.c
diff options
context:
space:
mode:
authorroot <root@ka-ata-killa.ourano.james.local>2021-03-02 12:54:03 +0000
committerroot <root@ka-ata-killa.ourano.james.local>2021-03-02 12:54:03 +0000
commit8c7ee88332652e7e79f6c1e4baacabe2183f7e8e (patch)
treea26ca60a089015822fa81ef44567927c1d8e334d /app/stats.c
parent3d48137c00511b3f2d35511482d1a76f8d06382d (diff)
downloadclock-8c7ee88332652e7e79f6c1e4baacabe2183f7e8e.tar.gz
clock-8c7ee88332652e7e79f6c1e4baacabe2183f7e8e.tar.bz2
clock-8c7ee88332652e7e79f6c1e4baacabe2183f7e8e.zip
working, with hybrid FLL/PLL, new refclk input and support for max7219 displays, neo 5 and neo 7 and a bazillion other fixes
Diffstat (limited to 'app/stats.c')
-rw-r--r--app/stats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/stats.c b/app/stats.c
index 1764b70..0edea5d 100644
--- a/app/stats.c
+++ b/app/stats.c
@@ -12,9 +12,9 @@ void stats (void)
d = msf_last_second;
d -= (int64_t) dcf77_last_second;
- g = time_epoch_to_utc (pll_decompose (dcf77_last_second));
- m = time_epoch_to_utc (pll_decompose (msf_last_second));
- e = pll_decompose_diff (d);
+ g = time_epoch_to_utc (ref_decompose (dcf77_last_second));
+ m = time_epoch_to_utc (ref_decompose (msf_last_second));
+ e = ref_decompose_diff (d);
ms = (float) e.ns;
ms = ms / 1000000.0;