summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-05-15 20:33:03 -0700
committerKeith Packard <keithp@keithp.com>2013-05-15 20:33:03 -0700
commit0f1ed2203d8887755b09c5fcadd094bc96ac4d71 (patch)
treebd2fd229ac737083864f31b26be43d70a98cc373
parent0b7cbb0aa3b317a8ff7ddf09476d5d4a1ae0d883 (diff)
altos: More attempts to get the carrier steady.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/drivers/ao_cc1120.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/drivers/ao_cc1120.c b/src/drivers/ao_cc1120.c
index 93ef3d71..f9729f66 100644
--- a/src/drivers/ao_cc1120.c
+++ b/src/drivers/ao_cc1120.c
@@ -691,6 +691,12 @@ ao_radio_test_cmd(void)
ao_radio_get(0xff);
ao_radio_set_mode(AO_RADIO_MODE_TEST);
ao_radio_strobe(CC1120_STX);
+ { int i;
+ for (i = 0; i < 10; i++) {
+ ao_delay(AO_MS_TO_TICKS(100));
+ ao_radio_reg_write(CC1120_SOFT_TX_DATA_IN, 0);
+ }
+ }
#if CC1120_TRACE
{ int t;
for (t = 0; t < 10; t++) {