From f8e862f3b5e69de90d6bf20c2642271d324b4fc3 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Mar 2021 11:40:34 +0000 Subject: switch to lwip-2.1.2 --- app/ptp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/ptp.c') 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))) -- cgit v1.2.3