From cfd75178762a5b8f27c758bb97d8e58c66172c9e Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Thu, 12 Mar 2015 12:49:59 -0700 Subject: 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. --- libgps_core.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libgps_core.c') 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; -- cgit v1.2.1