altos: Set cc1120 to RDF mode when testing radio to try and turn off modulation
authorKeith Packard <keithp@keithp.com>
Wed, 15 May 2013 22:32:59 +0000 (15:32 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 15 May 2013 22:32:59 +0000 (15:32 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_cc1120.c

index 772014ee175f0087be15537b91f81e7ef15c1348..4f09358ce327d31e6d0ce345996a3887a13e9e37 100644 (file)
@@ -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;