diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-07-11 12:32:41 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-07-11 12:32:41 +0000 |
commit | b89766bedaa4143db4aa54496cc3ad459fc6996c (patch) | |
tree | 91e00b70309fab5542bd51d35a361e209f286702 /libgps.c | |
parent | d56e47611cb5d2966bd7eb923dcb51bd8c66fcd0 (diff) | |
download | gpsd-b89766bedaa4143db4aa54496cc3ad459fc6996c.tar.gz |
Architecture extension; handle variable sample rates.
Diffstat (limited to 'libgps.c')
-rw-r--r-- | libgps.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -160,7 +160,7 @@ static void gps_unpack(char *buf, struct gps_data_t *gpsdata) if (sp[2] == '?') gpsdata->cycle = 0; else - (void)sscanf(sp, "C=%u", &gpsdata->cycle); + (void)sscanf(sp, "C=%lf", &gpsdata->cycle); break; case 'D': if (sp[2] == '?') |