projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
444da7b
)
altos: Set cc1120 to RDF mode when testing radio to try and turn off modulation
author
Keith Packard
<keithp@keithp.com>
Wed, 15 May 2013 22:32:59 +0000
(15:32 -0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/src/drivers/ao_cc1120.c
b/src/drivers/ao_cc1120.c
index 772014ee175f0087be15537b91f81e7ef15c1348..4f09358ce327d31e6d0ce345996a3887a13e9e37 100644
(file)
--- 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;