summaryrefslogtreecommitdiff
path: root/src/telegps-v0.3
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-06-10 09:52:15 -0700
committerKeith Packard <keithp@keithp.com>2014-06-10 09:54:42 -0700
commit9d7f4fb6af0fee843191766858e39a481aeda347 (patch)
treeb43e723b76af2195240c85c7bace0cd926479203 /src/telegps-v0.3
parentc5a7889a8da3da64deb0f118656784e0ee3fd511 (diff)
altos: Simplify tracker logic, removing boost detect
This removes the ao_flight_state value from the tracker code and makes it simply log position information when the device has moved within the last 10 log intervals. This also changes the configuration parameters to define what 'motionless' means, and what interval to configure the GPS receiver for, log data and send telemetry. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telegps-v0.3')
-rw-r--r--src/telegps-v0.3/ao_telegps.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/telegps-v0.3/ao_telegps.c b/src/telegps-v0.3/ao_telegps.c
index bc7eeea8..dd699ecf 100644
--- a/src/telegps-v0.3/ao_telegps.c
+++ b/src/telegps-v0.3/ao_telegps.c
@@ -52,7 +52,6 @@ main(void)
ao_tracker_init();
ao_telemetry_init();
- ao_telemetry_set_interval(AO_SEC_TO_TICKS(1));
#if HAS_SAMPLE_PROFILE
ao_sample_profile_init();