From: Keith Packard Date: Sun, 7 Apr 2013 06:48:36 +0000 (-0700) Subject: altos: Try RDF mode for TX calibration X-Git-Tag: altosdroid_v1.2-1~30 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=0c0dc761095a5a77c87c3b4dcd1d42a4e79f6604 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 --- 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);