summaryrefslogtreecommitdiff
path: root/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-10 22:58:31 -0700
committerKeith Packard <keithp@keithp.com>2009-05-10 22:58:31 -0700
commite9584e846b9bd7926d61451d32ba5d7a30416f7b (patch)
treeb79e2304e15154a010d6dad49d3af1428ac22c05 /ao.h
parent97cecb517cd7bf75e1219c76a93bfe6964c07052 (diff)
Decrease telemetry rate on the pad to 1/sec instead of 20/sec
Transmitting telemetry through the radio consumes a significant amount of battery; reducing the rate to 1/sec will reduce power usage while waiting for launch. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao.h')
-rw-r--r--ao.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ao.h b/ao.h
index 4505edfa..fb06df06 100644
--- a/ao.h
+++ b/ao.h
@@ -727,6 +727,7 @@ struct ao_telemetry {
/* Set delay between telemetry reports (0 to disable) */
+#define AO_TELEMETRY_INTERVAL_PAD AO_MS_TO_TICKS(1000)
#define AO_TELEMETRY_INTERVAL_FLIGHT AO_MS_TO_TICKS(50)
#define AO_TELEMETRY_INTERVAL_RECOVER AO_MS_TO_TICKS(1000)