diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-12 17:13:27 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-12 17:13:27 -0500 |
commit | 25c55a4c7a4ed769ac10073fb65466f31305d305 (patch) | |
tree | 1b12403252e54d58dc2eb0dd68103bc803cba61a /driver_ubx.c | |
parent | 8eb7514a020463ffda56654de516095141ca63d3 (diff) | |
download | gpsd-25c55a4c7a4ed769ac10073fb65466f31305d305.tar.gz |
Rename and rationalize driver table instances. No logic changes.
Diffstat (limited to 'driver_ubx.c')
-rw-r--r-- | driver_ubx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_ubx.c b/driver_ubx.c index d7c9892c..5ef314d6 100644 --- a/driver_ubx.c +++ b/driver_ubx.c @@ -472,7 +472,7 @@ gps_mask_t ubx_parse(struct gps_device_t * session, unsigned char *buf, break; case UBX_CFG_PRT: - session->driver.ubx.port_id = (int)buf[UBX_MESSAGE_DATA_OFFSET + 0]; + session->driver.ubx.port_id = (unsigned char)buf[UBX_MESSAGE_DATA_OFFSET + 0]; gpsd_report(session->context->debug, LOG_INF, "UBX_CFG_PRT: port %d\n", session->driver.ubx.port_id); break; @@ -928,8 +928,8 @@ static bool ubx_rate(struct gps_device_t *session, double cycletime) /* This is everything we export */ /* *INDENT-OFF* */ -const struct gps_type_t ubx_binary = { - .type_name = "u-blox binary", /* Full name of type */ +const struct gps_type_t driver_ubx = { + .type_name = "u-blox", /* Full name of type */ .packet_type = UBX_PACKET, /* associated lexer packet type */ .flags = DRIVER_STICKY, /* remember this */ .trigger = NULL, |