summaryrefslogtreecommitdiff
path: root/libgps_core.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_core.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_core.c')
-rw-r--r--libgps_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgps_core.c b/libgps_core.c
index 4ed336cd..9a26124d 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -217,6 +217,7 @@ const char /*@null observer@*/ *gps_data(const struct gps_data_t *gpsdata CONDIT
bool gps_waiting(const struct gps_data_t *gpsdata CONDITIONALLY_UNUSED, int timeout CONDITIONALLY_UNUSED)
/* is there input waiting from the GPS? */
+/* timeout is in uSec */
{
/* this is bogus, but I can't think of a better solution yet */
bool waiting = true;