diff options
author | Gary E. Miller <gem@rellim.com> | 2015-03-12 12:49:59 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-03-12 12:49:59 -0700 |
commit | cfd75178762a5b8f27c758bb97d8e58c66172c9e (patch) | |
tree | 2e7621f765d524707afdf02b35116b431801318d /libgps_sock.c | |
parent | 0fc51deea783be9a7dc272972a0141aca3bab227 (diff) | |
download | gpsd-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.c | 1 |
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; |