diff options
author | root <root@ka-ata-killa.ourano.james.local> | 2021-03-19 11:40:34 +0000 |
---|---|---|
committer | root <root@ka-ata-killa.ourano.james.local> | 2021-03-19 11:43:23 +0000 |
commit | f8e862f3b5e69de90d6bf20c2642271d324b4fc3 (patch) | |
tree | 86b1ed884110e6a85d64608ceaa2f95434957d1f /app/ptp.c | |
parent | c6dc3064e7ebf1f13826487105f748745434da4d (diff) | |
download | clock-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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))) |