summaryrefslogtreecommitdiff
path: root/test_gpsmm.cpp
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-09 13:28:11 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-03-09 13:28:11 -0500
commit590886f99facde03611b225b3a029f644bc46ded (patch)
treebc76677d27089475f3d90fe00d0cdce78d9880f4 /test_gpsmm.cpp
parentdec2eb8569459a809cf241986588c06d7d35a10f (diff)
downloadgpsd-590886f99facde03611b225b3a029f644bc46ded.tar.gz
Wait method needs an argument.
Diffstat (limited to 'test_gpsmm.cpp')
-rw-r--r--test_gpsmm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test_gpsmm.cpp b/test_gpsmm.cpp
index 2731655e..f12de562 100644
--- a/test_gpsmm.cpp
+++ b/test_gpsmm.cpp
@@ -103,7 +103,7 @@ int main(void)
for (;;) {
struct gps_data_t* newdata;
- if (!gps_rec.waiting())
+ if (!gps_rec.waiting(5000000))
continue;
if ((newdata = gps_rec.read()) == NULL) {