summaryrefslogtreecommitdiffstats
path: root/app/ptp.c
diff options
context:
space:
mode:
authorroot <root@ka-ata-killa.ourano.james.local>2021-03-19 11:40:34 +0000
committerroot <root@ka-ata-killa.ourano.james.local>2021-03-19 11:43:23 +0000
commitf8e862f3b5e69de90d6bf20c2642271d324b4fc3 (patch)
tree86b1ed884110e6a85d64608ceaa2f95434957d1f /app/ptp.c
parentc6dc3064e7ebf1f13826487105f748745434da4d (diff)
downloadclock-f8e862f3b5e69de90d6bf20c2642271d324b4fc3.tar.gz
clock-f8e862f3b5e69de90d6bf20c2642271d324b4fc3.tar.bz2
clock-f8e862f3b5e69de90d6bf20c2642271d324b4fc3.zip
switch to lwip-2.1.2
Diffstat (limited to 'app/ptp.c')
-rw-r--r--app/ptp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/ptp.c b/app/ptp.c
index c05d0c3..026e6ec 100644
--- a/app/ptp.c
+++ b/app/ptp.c
@@ -167,10 +167,12 @@ void ptp_dispatch (uint64_t edge, const char *src)
last_edge = edge;
obs_phase = edge_to_phase (edge);
+#ifdef CHATTY_PLLS
printf ("PTP PLL: obs_f=%9d delta_phi=%5d f=%9d %s\r\n",
(int) obs_freq,
(int) obs_phase,
(int) ptp_freq, src);
+#endif
/*Ignore bogus observations*/
if (obs_freq > (PTP_CLOCK_HZ + (PTP_CLOCK_HZ / 2)))