diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-09 19:55:04 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-09 19:55:04 +0000 |
commit | f8568d0193cd3d5e730b986e79d49fcda7c2367a (patch) | |
tree | 9b6d50dbeb5eb4b04cc2e7a27b6a04e8388728d1 /driver_rtcm2.c | |
parent | 5dcc7402bc00a21c7432316af66bca429fc855df (diff) | |
download | gpsd-f8568d0193cd3d5e730b986e79d49fcda7c2367a.tar.gz |
Partial splint cleanup. All regression tests pass.
Diffstat (limited to 'driver_rtcm2.c')
-rw-r--r-- | driver_rtcm2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_rtcm2.c b/driver_rtcm2.c index b7d2ddff..7b3ae7e3 100644 --- a/driver_rtcm2.c +++ b/driver_rtcm2.c @@ -183,7 +183,7 @@ void rtcm2_unpack(/*@out@*/struct rtcm2_t *tp, char *buf) csp->iodl = m->issue_of_data_link!=0; csp->health = m->data_health; /*@i@*/csp->snr = (m->cn0?(m->cn0+CNR_OFFSET):SNR_BAD); - csp->health_en = m->health_enable; + csp->health_en = m->health_enable!=0; csp->new_data = m->new_nav_data!=0; csp->los_warning = m->loss_warn!=0; csp->tou = m->time_unhealthy*TU_SCALE; |