projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Use symbolic names for ublox packet id
[fw/altos]
/
src
/
drivers
/
ao_cc1120.c
diff --git
a/src/drivers/ao_cc1120.c
b/src/drivers/ao_cc1120.c
index 3bef6c90fbc9f62ab43232f2f5926c3e3cc3cbdd..772014ee175f0087be15537b91f81e7ef15c1348 100644
(file)
--- a/
src/drivers/ao_cc1120.c
+++ b/
src/drivers/ao_cc1120.c
@@
-392,16
+392,15
@@
static const uint16_t rdf_setup[] = {
};
/*
};
/*
- * APRS deviation is
5
kHz
+ * APRS deviation is
3
kHz
*
* fdev = fosc >> 24 * (256 + dev_m) << dev_e
*
*
* fdev = fosc >> 24 * (256 + dev_m) << dev_e
*
- * 32e6Hz / (2 ** 24) * (256 +
71) * (2 ** 3) = 4989
+ * 32e6Hz / (2 ** 24) * (256 +
137) * (2 ** 2) = 2998Hz
*/
*/
-#define APRS_DEV_E 3
-#define APRS_DEV_M 71
-#define APRS_PACKET_LEN 50
+#define APRS_DEV_E 2
+#define APRS_DEV_M 137
/*
* For our APRS beacon, set the symbol rate to 9.6kBaud (8x oversampling for 1200 baud data rate)
/*
* For our APRS beacon, set the symbol rate to 9.6kBaud (8x oversampling for 1200 baud data rate)