diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2009-03-18 19:14:22 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2009-03-18 19:14:22 +0000 |
commit | 451aae14da73a8dbcfe77a89632f328184d026f7 (patch) | |
tree | 21a82e703c4665473fe641f66d9994ec8ed250c5 /driver_ubx.c | |
parent | 1f4d3b09c73ee796833de1aa454d5cade56867b9 (diff) | |
download | gpsd-451aae14da73a8dbcfe77a89632f328184d026f7.tar.gz |
oops. forgot to actually use the cycle time.
Diffstat (limited to 'driver_ubx.c')
-rw-r--r-- | driver_ubx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/driver_ubx.c b/driver_ubx.c index bb45bd2f..b0136fe1 100644 --- a/driver_ubx.c +++ b/driver_ubx.c @@ -679,6 +679,7 @@ static bool ubx_rate(struct gps_device_t *session, double cycletime) cycletime = 200.0; gpsd_report(LOG_IO, "UBX rate change, report every %f secs\n", cycletime); + s = (unsigned short)cycletime; msg[0] = (unsigned char)(s >> 8); msg[1] = (unsigned char)(s & 0xff); |