summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-06 23:48:36 -0700
committerKeith Packard <keithp@keithp.com>2013-04-06 23:48:36 -0700
commit0c0dc761095a5a77c87c3b4dcd1d42a4e79f6604 (patch)
treeb4085c0604ec9656015d28bd9de11dac7f2a3e58 /src
parent30c397296bcdaceb4c2c9d0509dc591b489ece02 (diff)
altos: Try RDF mode for TX calibration
Trying to get the radio to stop modulating the carrier when calibrating the radio, we'll try RDF mode which says no preamble or sync data. This might shift the frequency though? Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/ao_cc115l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_cc115l.c b/src/drivers/ao_cc115l.c
index d6a938ac..216432bd 100644
--- a/src/drivers/ao_cc115l.c
+++ b/src/drivers/ao_cc115l.c
@@ -638,7 +638,7 @@ ao_radio_test_cmd(void)
#endif
ao_radio_get();
ao_radio_set_len(0xff);
- ao_radio_set_mode(AO_RADIO_MODE_PACKET_TX | AO_RADIO_MODE_BITS_FIXED);
+ ao_radio_set_mode(AO_RADIO_MODE_RDF);
ao_radio_strobe(CC115L_SFTX);
ao_radio_pa_on();
ao_radio_strobe(CC115L_STX);