summaryrefslogtreecommitdiff
path: root/src/core/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-03 00:52:30 -0700
committerKeith Packard <keithp@keithp.com>2013-05-03 00:52:30 -0700
commita18d68da1b0b23a6089166fcd14a5bb5368f10f1 (patch)
treeef0b0a584dc54d2542b7752432fc430d65f16b38 /src/core/ao.h
parentd6900a5d1fc24f007fc479eb528b199dd195e1eb (diff)
altos: Make APRS deviation configurable
Maybe this will help the Yaesu VX-8GR receive our packets Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao.h')
-rw-r--r--src/core/ao.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/ao.h b/src/core/ao.h
index 0ad3e4aa..731b43c8 100644
--- a/src/core/ao.h
+++ b/src/core/ao.h
@@ -749,7 +749,8 @@ 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 */
+ uint8_t aprs_interval; /* minor version 13 */
+ uint8_t aprs_width; /* minor version 13 */
#if HAS_RADIO_POWER
uint8_t radio_power; /* minor version 14 */
#endif
@@ -769,6 +770,10 @@ struct ao_config {
#define AO_PAD_ORIENTATION_ANTENNA_UP 0
#define AO_PAD_ORIENTATION_ANTENNA_DOWN 1
+#define AO_APRS_WIDTH_NARROW 0
+#define AO_APRS_WIDTH_MEDIUM 1
+#define AO_APRS_WIDTH_WIDE 2
+
extern __xdata struct ao_config ao_config;
#define AO_CONFIG_MAX_SIZE 128