diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-02-23 08:35:10 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-02-23 08:35:10 +0000 |
commit | ebc29642b2928534b0fa91c3d7c42ec8717e926a (patch) | |
tree | 89f5d20eb1b6b751bb48aa716dae31bb803ae390 /serial.c | |
parent | 145a0133d6e495145c6fb951ca898a3d34265929 (diff) | |
download | gpsd-ebc29642b2928534b0fa91c3d7c42ec8717e926a.tar.gz |
Typo fix.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,9 +56,9 @@ int gpsd_set_speed(struct gps_session_t *session, int speed) else if (speed < 38400) speed = B19200; else if (speed < 57600) - speed = 38400; + speed = B38400; else - speed = 57600; + speed = B57600; tcflush(session->gNMEAdata.gps_fd, TCIOFLUSH); cfsetispeed(&session->ttyset, (speed_t)speed); |