diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-10 06:29:48 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-10 06:29:48 +0000 |
commit | dbda81f426dc8cc2d2271b5efbe022d50a5f7732 (patch) | |
tree | 8af922e3bcdcd80a76587b49be05e9c9d84f88eb /driver_nmea.c | |
parent | ef5669b4f86d2e9c4f9f0bc12576040cbf511cea (diff) | |
download | gpsd-dbda81f426dc8cc2d2271b5efbe022d50a5f7732.tar.gz |
Continuing the splint cleanup.
Diffstat (limited to 'driver_nmea.c')
-rw-r--r-- | driver_nmea.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_nmea.c b/driver_nmea.c index 769212a1..51bc1c69 100644 --- a/driver_nmea.c +++ b/driver_nmea.c @@ -759,7 +759,7 @@ static gps_mask_t processPASHR(int c UNUSED, char *field[], struct gps_device_t session->gpsdata.PRN[i] = p = atoi(field[3+i*5+0]); session->gpsdata.azimuth[i] = atoi(field[3+i*5+1]); session->gpsdata.elevation[i] = atoi(field[3+i*5+2]); - session->gpsdata.ss[i] = atoi(field[3+i*5+3]); + session->gpsdata.ss[i] = atof(field[3+i*5+3]); if (field[3+i*5+4][0] == 'U') session->gpsdata.used[u++] = p; } |