diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-05 18:56:24 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-05 18:56:24 -0500 |
commit | 209144664fa758bc27f334a32b76fab9813c6f97 (patch) | |
tree | 2a6b405315d4ac7498a8a698ad4330cb06cf90cc /monitor_sirf.c | |
parent | 326523756d2e93cec14d536d3860b4fa48fa10f7 (diff) | |
download | gpsd-209144664fa758bc27f334a32b76fab9813c6f97.tar.gz |
Partial splint cleanup. All regression tests pass. PPS is live.
Diffstat (limited to 'monitor_sirf.c')
-rw-r--r-- | monitor_sirf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_sirf.c b/monitor_sirf.c index b6f212f6..421674f1 100644 --- a/monitor_sirf.c +++ b/monitor_sirf.c @@ -386,7 +386,7 @@ static void sirf_update(void) display(mid7win, 1, 29, "%lu", getbeu32(buf, 12)); /* Clock Bias */ display(mid7win, 2, 16, "%lu", getbeu32(buf, 16)); /* Estimated Time */ /* Not a CSD field, but there's no better place to put it */ - if (timedelta) + if (timedelta != 0) display(mid7win, 2, 39, "%f", timedelta); /* PPS offset */ monitor_log("CSD 0x07="); break; |