diff options
Diffstat (limited to 'astro/gpsdrive/files/patch-src__gpsserial.c')
-rw-r--r-- | astro/gpsdrive/files/patch-src__gpsserial.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/astro/gpsdrive/files/patch-src__gpsserial.c b/astro/gpsdrive/files/patch-src__gpsserial.c deleted file mode 100644 index 531570d64224..000000000000 --- a/astro/gpsdrive/files/patch-src__gpsserial.c +++ /dev/null @@ -1,13 +0,0 @@ ---- src/gpsserial.c.orig Thu Feb 12 18:42:53 2004 -+++ src/gpsserial.c Mon Sep 6 00:44:34 2004 -@@ -178,7 +178,9 @@ - CLOCAL : local connection, no modem contol - CREAD : enable receiving characters - */ -- newtio.c_cflag = (11 + serialspeed) | CS8 | CLOCAL | CREAD; -+ { int t[] = { 2400, 4800, 9600, 19200, 38400 }; -+ newtio.c_ispeed = newtio.c_ospeed = t[serialspeed]; } -+ newtio.c_cflag = CS8 | CLOCAL | CREAD; - newtio.c_cflag &= ~(PARENB | CRTSCTS); - /* - IGNPAR : ignore bytes with parity errors |