From 22de7749a1ff2e2857bee8f360ff1da384f1bc29 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 19 Sep 2017 11:54:19 -0400 Subject: 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. --- gpsctl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gpsctl.c b/gpsctl.c index 756f7081..a8769eda 100644 --- a/gpsctl.c +++ b/gpsctl.c @@ -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 -- cgit v1.2.1