summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2007-12-13 00:37:44 +0000
committerEric S. Raymond <esr@thyrsus.com>2007-12-13 00:37:44 +0000
commit5ed2f7e385b436acc2c2777205bbf0ca80d63d1d (patch)
tree89d914d342f6080793419da3b7a47af295a523af /serial.c
parent430213a9fe8ae23b3b83d29b2ce50011941f4a52 (diff)
downloadgpsd-5ed2f7e385b436acc2c2777205bbf0ca80d63d1d.tar.gz
Minor build and patches from the Gumstix crew.
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial.c b/serial.c
index 410ee333..335cd52e 100644
--- a/serial.c
+++ b/serial.c
@@ -307,7 +307,7 @@ bool gpsd_next_hunt_setting(struct gps_device_t *session)
}
gpsd_set_speed(session,
rates[session->baudindex],
- 'N', session->gpsdata.stopbits);
+ session->gpsdata.parity, session->gpsdata.stopbits);
}
return true; /* keep hunting */