summaryrefslogtreecommitdiff
path: root/libgps_sock.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-12 12:49:59 -0700
committerGary E. Miller <gem@rellim.com>2015-03-12 12:49:59 -0700
commitcfd75178762a5b8f27c758bb97d8e58c66172c9e (patch)
tree2e7621f765d524707afdf02b35116b431801318d /libgps_sock.c
parent0fc51deea783be9a7dc272972a0141aca3bab227 (diff)
downloadgpsd-cfd75178762a5b8f27c758bb97d8e58c66172c9e.tar.gz
Document SHM and JSON timeout is in uSec. Fix SHM so that is true.
JSON wait was in uSec, but SHM wait was in Sec. Made both uSec and documented three places.
Diffstat (limited to 'libgps_sock.c')
-rw-r--r--libgps_sock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgps_sock.c b/libgps_sock.c
index e36e4ff1..a87cd444 100644
--- a/libgps_sock.c
+++ b/libgps_sock.c
@@ -100,6 +100,7 @@ int gps_sock_open(/*@null@*/const char *host, /*@null@*/const char *port,
bool gps_sock_waiting(const struct gps_data_t *gpsdata, int timeout)
/* is there input waiting from the GPS? */
+/* timeout is in uSec */
{
#ifndef USE_QT
fd_set rfds;