summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-15 21:23:30 -0700
committerKeith Packard <keithp@keithp.com>2013-05-15 21:23:30 -0700
commit83f0802f8b054f6fc3db9c26a51bd54711625c0e (patch)
treeaf53ddf7fed14405fed1bb22c0a5c109d5f3b79f
parentd685be9f9565fa5a5dd4c1bfe4738fc9d029b5e6 (diff)
altos: Crank up the test mode deviation to see if it's using it
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/drivers/ao_cc1120.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/ao_cc1120.c b/src/drivers/ao_cc1120.c
index a34e8115..6eb115a4 100644
--- a/src/drivers/ao_cc1120.c
+++ b/src/drivers/ao_cc1120.c
@@ -474,10 +474,10 @@ static const uint16_t aprs_setup[] = {
*/
static const uint16_t test_setup[] = {
- CC1120_DEVIATION_M, APRS_DEV_M,
+ CC1120_DEVIATION_M, PACKET_DEV_M,
CC1120_MODCFG_DEV_E, ((CC1120_MODCFG_DEV_E_MODEM_MODE_NORMAL << CC1120_MODCFG_DEV_E_MODEM_MODE) |
(CC1120_MODCFG_DEV_E_MOD_FORMAT_2_GFSK << CC1120_MODCFG_DEV_E_MOD_FORMAT) |
- (APRS_DEV_E << CC1120_MODCFG_DEV_E_DEV_E)),
+ (PACKET_DEV_E << CC1120_MODCFG_DEV_E_DEV_E)),
CC1120_DRATE2, ((APRS_DRATE_E << CC1120_DRATE2_DATARATE_E) |
(((APRS_DRATE_M >> 16) & CC1120_DRATE2_DATARATE_M_19_16_MASK) << CC1120_DRATE2_DATARATE_M_19_16)),
CC1120_DRATE1, ((APRS_DRATE_M >> 8) & 0xff),