diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-09 13:28:11 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-09 13:28:11 -0500 |
commit | 590886f99facde03611b225b3a029f644bc46ded (patch) | |
tree | bc76677d27089475f3d90fe00d0cdce78d9880f4 /test_gpsmm.cpp | |
parent | dec2eb8569459a809cf241986588c06d7d35a10f (diff) | |
download | gpsd-590886f99facde03611b225b3a029f644bc46ded.tar.gz |
Wait method needs an argument.
Diffstat (limited to 'test_gpsmm.cpp')
-rw-r--r-- | test_gpsmm.cpp | 2 |
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) { |