diff options
author | Keith Packard <keithp@keithp.com> | 2013-05-15 15:32:59 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-05-15 15:32:59 -0700 |
commit | e9868cd0194e3d5098ca2c4f3753a12c251cb47f (patch) | |
tree | 68a9294d7fb78b092ec57a1987aeaca9346a8598 | |
parent | 444da7b39721dade6936b25c930598838df0eb99 (diff) |
altos: Set cc1120 to RDF mode when testing radio to try and turn off modulation
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/drivers/ao_cc1120.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/ao_cc1120.c b/src/drivers/ao_cc1120.c index 772014ee..4f09358c 100644 --- a/src/drivers/ao_cc1120.c +++ b/src/drivers/ao_cc1120.c @@ -652,6 +652,7 @@ ao_radio_test_cmd(void) ao_packet_slave_stop(); #endif ao_radio_get(0xff); + ao_radio_set_mode(AO_RADIO_MODE_RDF); ao_radio_strobe(CC1120_STX); #if CC1120_TRACE { int t; |