summaryrefslogtreecommitdiff
path: root/src/kernel/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-05-21 14:02:35 -0700
committerKeith Packard <keithp@keithp.com>2014-05-21 14:02:35 -0700
commit2625a464417c8475c66101757ca2c30cd6c74e0c (patch)
tree4de36a9bed1b7864a5becadfdbba091a4394d260 /src/kernel/ao.h
parent161ae96f9ec11e2586df07c0f6d724ddc4dad76c (diff)
altos: Add config values for tracker start motion limits
TeleGPS switches from 'pad' to 'drogue' states after the device moves a specified distance from the initial starting point. These values can be configured, and this is the configuration for them. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel/ao.h')
-rw-r--r--src/kernel/ao.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/kernel/ao.h b/src/kernel/ao.h
index b1f850ba..0ffc647a 100644
--- a/src/kernel/ao.h
+++ b/src/kernel/ao.h
@@ -753,7 +753,7 @@ extern __xdata uint8_t ao_force_freq;
#endif
#define AO_CONFIG_MAJOR 1
-#define AO_CONFIG_MINOR 16
+#define AO_CONFIG_MINOR 17
#define AO_AES_LEN 16
@@ -795,6 +795,10 @@ struct ao_config {
#if HAS_BEEP
uint8_t mid_beep; /* minor version 16 */
#endif
+#if HAS_TRACKER
+ uint16_t tracker_start_horiz; /* minor version 17 */
+ uint16_t tracker_start_vert; /* minor version 17 */
+#endif
};
#define AO_IGNITE_MODE_DUAL 0