altos: Try RDF mode for TX calibration
authorKeith Packard <keithp@keithp.com>
Sun, 7 Apr 2013 06:48:36 +0000 (23:48 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 7 Apr 2013 06:48:36 +0000 (23:48 -0700)
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>
src/drivers/ao_cc115l.c

index d6a938ac5c32a8fc0bf6152a08d7da0d64444389..216432bdc6ee9aba8e0a86553afc4be79bc787eb 100644 (file)
@@ -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);