diff options
author | Keith Packard <keithp@keithp.com> | 2011-03-19 23:53:08 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-03-19 23:55:11 -0700 |
commit | be838db49d999426a9dd02c0166fe161722f1e61 (patch) | |
tree | cad4332accb7dc7d1675c6a2acf1f72e7f5d87f7 /src/ao_gps_sirf.c | |
parent | ad6bb342d237988404fa32540b38c61d6ddc1f0d (diff) |
altos: New telemetry report format (version 4). Supports tiny telemetry.
This completely replaces the version 3 format with a much simpler and
easier to parse scheme. It's described in detail in ao_telem.h, but
the basic idea is that the whole line is split into name/value pairs,
separated by whitespace. Every name is unique, and the values are
either strings or integers. No extraneous formatting or units are
provided.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_gps_sirf.c')
-rw-r--r-- | src/ao_gps_sirf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ao_gps_sirf.c b/src/ao_gps_sirf.c index a6167e6b..87b1d69c 100644 --- a/src/ao_gps_sirf.c +++ b/src/ao_gps_sirf.c @@ -405,6 +405,7 @@ ao_gps(void) __reentrant ao_gps_data.course = ao_sirf_data.course / 200; ao_gps_data.hdop = ao_sirf_data.hdop; ao_gps_data.climb_rate = ao_sirf_data.climb_rate; + ao_gps_data.flags |= AO_GPS_COURSE_VALID; if (ao_sirf_data.h_error > 6553500) ao_gps_data.h_error = 65535; else |