diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2017-09-19 11:54:19 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2017-09-19 11:54:19 -0400 |
commit | 22de7749a1ff2e2857bee8f360ff1da384f1bc29 (patch) | |
tree | 0697f5fe56a3cce7c58d80f6c2674bc30fc2d550 /gpsctl.c | |
parent | 3db781b747e03df8faa71a8d4281f9294e05084b (diff) | |
download | gpsd-22de7749a1ff2e2857bee8f360ff1da384f1bc29.tar.gz |
In gpsctl, fore timeout of 2 on u-blox.
If this turn out to work, we may have to add a timeout member to the
device data structure.
Diffstat (limited to 'gpsctl.c')
-rw-r--r-- | gpsctl.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -295,6 +295,9 @@ int main(int argc, char **argv) break; case 't': /* force the device type */ devtype = optarg; + /* experimental kluge */ + if (strcmp(devtype, "u-blox") == 0) + timeout = 2; break; case 'R': /* remove the SHM export segment */ #ifdef SHM_EXPORT_ENABLE |