summaryrefslogtreecommitdiff
path: root/driver_tsip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-09-29 07:02:49 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-09-29 07:02:49 -0400
commit167ad11610484532ef3686fbfbb6d36e809e4212 (patch)
tree4c44227e9f8afd4c33009afaed906b8488d9ec5f /driver_tsip.c
parentf628764ea400bb6e14342908ca595a0c91e5c5ab (diff)
downloadgpsd-167ad11610484532ef3686fbfbb6d36e809e4212.tar.gz
Cleanup after the big change.
The fact that this was necessary may indicate a build systenm issue that's leaving stale binaries in place.
Diffstat (limited to 'driver_tsip.c')
-rw-r--r--driver_tsip.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/driver_tsip.c b/driver_tsip.c
index 1913f808..7181c420 100644
--- a/driver_tsip.c
+++ b/driver_tsip.c
@@ -1262,10 +1262,10 @@ void configuration_packets_accutime_gold(struct gps_device_t *session)
putbyte(buf, 2, 0xff); /* Not enabled = unchanged */
putbyte(buf, 3, 0x01); /* Dynamics code = default */
putbyte(buf, 4, 0x01); /* Solution Mode = default */
- putbef32(buf, 5, (float)0.1745); /* Elevation Mask = 0.1745 */
- putbef32(buf, 9, (float)4.0); /* AMU Mask = default is 4.0 */
- putbef32(buf, 13, (float)8.0); /* PDOP Mask = 8.0 */
- putbef32(buf, 17, (float)6.0); /* PDOP Switch = 6.0 */
+ putbef32((char *)buf, 5, (float)0.1745); /* Elevation Mask = 0.1745 */
+ putbef32((char *)buf, 9, (float)4.0); /* AMU Mask = default is 4.0 */
+ putbef32((char *)buf, 13, (float)8.0); /* PDOP Mask = 8.0 */
+ putbef32((char *)buf, 17, (float)6.0); /* PDOP Switch = 6.0 */
putbyte(buf, 21, 0xff); /* N/A */
putbyte(buf, 22, 0x0); /* Foliage Mode = default */
putbe16(buf, 23, 0xffff); /* Reserved */