summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-08-22 13:38:56 -0700
committerKeith Packard <keithp@keithp.com>2009-08-22 13:38:56 -0700
commit6358041f846ba9a20fa650c367d907dc4336e54c (patch)
treebc3fbfc765b407ac11788237323638e16b56f7ef /src
parent0d65bff443c17d4d98c18b620ec075ab66b30efd (diff)
Enable GPS degraded mode, set 10 sec degraded timeout.
No reason not to let the GPS report solutions whenever it likes, let's see how this works. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/ao_gps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ao_gps.c b/src/ao_gps.c
index 7d68b325..2b3a5178 100644
--- a/src/ao_gps.c
+++ b/src/ao_gps.c
@@ -30,14 +30,14 @@ const char ao_gps_config[] = {
0xa0, 0xa2, 0x00, 0x0e, /* length: 14 bytes */
136, /* mode control */
0, 0, /* reserved */
- 4, /* degraded mode (disabled) */
+ 0, /* degraded mode (allow 1-SV navigation) */
0, 0, /* reserved */
0, 0, /* user specified altitude */
2, /* alt hold mode (disabled, require 3d fixes) */
0, /* alt hold source (use last computed altitude) */
0, /* reserved */
- 0, /* Degraded time out (disabled) */
- 0, /* Dead Reckoning time out (disabled) */
+ 10, /* Degraded time out (10 sec) */
+ 10, /* Dead Reckoning time out (10 sec) */
0, /* Track smoothing (disabled) */
0x00, 0x8e, 0xb0, 0xb3,