summaryrefslogtreecommitdiff
path: root/src/drivers/ao_cc115l.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-06 16:08:52 -0700
committerKeith Packard <keithp@keithp.com>2013-05-06 16:08:52 -0700
commit9538dfa2f80c5a8d4c2ad9bd36cd4db0035bbfcf (patch)
treea2e96a5b9bd91a535823794fc0300567e1616571 /src/drivers/ao_cc115l.c
parent59527c2e60c062aa1c85ebb4d542350ce3772df1 (diff)
altos: Set APRS deviation to 3kHzstm-flash
I finally found a bunch of references to APRS on the net and they all appear to assume a 3kHz deviation. Let's see if this works better with Yaesu radios. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_cc115l.c')
-rw-r--r--src/drivers/ao_cc115l.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/drivers/ao_cc115l.c b/src/drivers/ao_cc115l.c
index 30c56442..05e6a762 100644
--- a/src/drivers/ao_cc115l.c
+++ b/src/drivers/ao_cc115l.c
@@ -328,11 +328,13 @@ static const uint16_t rdf_setup[] = {
};
/*
- * APRS deviation is the same as RDF
+ * APRS deviation is 3kHz
+ *
+ * 26e6 / (2 ** 17) * (8 + 7) * (2 ** 0) = 2975
*/
-#define APRS_DEV_E RDF_DEV_E
-#define APRS_DEV_M RDF_DEV_M
+#define APRS_DEV_E 0
+#define APRS_DEV_M 7
/*
* For our APRS beacon, set the symbol rate to 9.6kBaud (8x oversampling for 1200 baud data rate)