diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2006-10-10 01:30:07 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2006-10-10 01:30:07 +0000 |
commit | 840e8bb8fefba01e9864e8a769e94eb7b9365c5d (patch) | |
tree | 95f6bca13085c6388b3c8fc56ca0c1337bfe55d5 /garmin.c | |
parent | 4e1f02d410fd35c95aabd4107f26edd5451115ca (diff) | |
download | gpsd-840e8bb8fefba01e9864e8a769e94eb7b9365c5d.tar.gz |
rename garmin_parse_input to garmin_usb_parse...
...to be consistent with garmin_ser_parse and to indicate this is the
handler for the usb transport.
Diffstat (limited to 'garmin.c')
-rw-r--r-- | garmin.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -938,9 +938,9 @@ static ssize_t garmin_get_packet(struct gps_device_t *session) return (ssize_t)( 0 == GetPacket( session ) ? 1 : 0); } -static gps_mask_t garmin_parse_input(struct gps_device_t *session) +static gps_mask_t garmin_usb_parse(struct gps_device_t *session) { - gpsd_report(5, "garmin_parse_input()\n"); + gpsd_report(5, "garmin_usb_parse()\n"); return PrintUSBPacket(session, (Packet_t*)session->driver.garmin.Buffer); } @@ -1072,7 +1072,7 @@ struct gps_type_t garmin_usb_binary = .probe = garmin_probe, /* how to detect at startup time */ .initializer = garmin_init, /* initialize the device */ .get_packet = garmin_get_packet,/* how to grab a packet */ - .parse_packet = garmin_parse_input, /* parse message packets */ + .parse_packet = garmin_usb_parse, /* parse message packets */ .rtcm_writer = NULL, /* don't send DGPS corrections */ .speed_switcher = NULL, /* no speed switcher */ .mode_switcher = NULL, /* no mode switcher */ |