diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-09 03:52:40 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-09 03:52:40 +0000 |
commit | 929fa747a83b5fa5515edb754b9e3c7a2009e0fb (patch) | |
tree | 03808401761df6b70f96ae8f1a0c5ae6d6ce8599 /driver_zodiac.c | |
parent | 4c994fe985d90676fa4cca10dd0376fa5b112b97 (diff) | |
download | gpsd-929fa747a83b5fa5515edb754b9e3c7a2009e0fb.tar.gz |
Document some Zodiac behavior.
Diffstat (limited to 'driver_zodiac.c')
-rw-r--r-- | driver_zodiac.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c index f4201abd..6f6212bb 100644 --- a/driver_zodiac.c +++ b/driver_zodiac.c @@ -224,6 +224,7 @@ static gps_mask_t handle1000(struct gps_device_t *session) } static gps_mask_t handle1002(struct gps_device_t *session) +/* satellite signal quality report */ { int i, j, status, prn; @@ -406,6 +407,7 @@ static gps_mask_t zodiac_analyze(struct gps_device_t *session) (void)snprintf(session->gpsdata.tag,sizeof(session->gpsdata.tag),"%u",id); + /* normal cycle for these devices is 1001 1002 */ session->cycle_state = CYCLE_END_RELIABLE; switch (id) { @@ -413,6 +415,7 @@ static gps_mask_t zodiac_analyze(struct gps_device_t *session) session->cycle_state = CYCLE_END; return handle1000(session); case 1002: + /* actual cycle end, but conveys no fix information */ return handle1002(session); case 1003: return handle1003(session); |