Deleted Added
full compact
105a106
> #define LENWWVB1 22 /* format 1 timecode length */
190c191
< peer->burst = NSTAGE;
---
> peer->burst = MAXSTAGE;
266,270d266
< #ifdef DEBUG
< if (debug)
< printf("wwvb: timecode %d %s\n", pp->lencode,
< pp->a_lastcode);
< #endif
280d275
< pp->msec = 0;
283c278
< case LENWWVB0:
---
> case LENWWVB0:
291a287
> pp->nsec = 0;
294c290
< case LENWWVB2:
---
> case LENWWVB2:
299c295
< "%c%c %2d %3d %2d:%2d:%2d.%3d %c",
---
> "%c%c %2d %3d %2d:%2d:%2d.%3ld %c",
301c297
< &pp->hour, &pp->minute, &pp->second, &pp->msec,
---
> &pp->hour, &pp->minute, &pp->second, &pp->nsec,
302a299
> pp->nsec *= 1000000;
305c302
< case LENWWVB3:
---
> case LENWWVB3:
315a313
> pp->nsec = 0;
319c317
< default:
---
> default:
345a344
> pp->lastref = pp->lastrec;
414,415d412
< else
< pp->polls++;
422d418
< record_clock_stats(&peer->srcadr, pp->a_lastcode);
424c420,427
< peer->burst = NSTAGE;
---
> record_clock_stats(&peer->srcadr, pp->a_lastcode);
> #ifdef DEBUG
> if (debug)
> printf("wwvb: timecode %d %s\n", pp->lencode,
> pp->a_lastcode);
> #endif
> peer->burst = MAXSTAGE;
> pp->polls++;