summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-12-07 17:18:32 -0800
committerKeith Packard <keithp@keithp.com>2012-12-07 17:18:32 -0800
commitb28323ce91d23db5e1c3cbd1309c72aafcfbe235 (patch)
treeb982d32f7b073c470d082e13fc814b7adc36aeff /src/core/ao.h
parentf8a704268f0978a39b9c7983e049ef55914f7280 (diff)
altos: Make APRS interval configurable
This provides a separate configuration value for APRS, allowing the interval between APRS reports to vary. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao.h')
-rw-r--r--src/core/ao.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/ao.h b/src/core/ao.h
index fa873efe..df5bbf48 100644
--- a/src/core/ao.h
+++ b/src/core/ao.h
@@ -684,7 +684,7 @@ extern __xdata uint8_t ao_force_freq;
#endif
#define AO_CONFIG_MAJOR 1
-#define AO_CONFIG_MINOR 12
+#define AO_CONFIG_MINOR 13
#define AO_AES_LEN 16
@@ -711,6 +711,7 @@ struct ao_config {
#if AO_PYRO_NUM
struct ao_pyro pyro[AO_PYRO_NUM]; /* minor version 12 */
#endif
+ uint16_t aprs_interval; /* minor version 13 */
};
#define AO_IGNITE_MODE_DUAL 0
@@ -718,9 +719,8 @@ struct ao_config {
#define AO_IGNITE_MODE_MAIN 2
#define AO_RADIO_ENABLE_CORE 1
-#define AO_RADIO_ENABLE_APRS 2
-#define AO_RADIO_DISABLE_TELEMETRY 4
-#define AO_RADIO_DISABLE_RDF 8
+#define AO_RADIO_DISABLE_TELEMETRY 2
+#define AO_RADIO_DISABLE_RDF 4
#define AO_PAD_ORIENTATION_ANTENNA_UP 0
#define AO_PAD_ORIENTATION_ANTENNA_DOWN 1