From: Keith Packard Date: Thu, 16 May 2013 03:33:03 +0000 (-0700) Subject: altos: More attempts to get the carrier steady. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=0f1ed2203d8887755b09c5fcadd094bc96ac4d71;p=fw%2Faltos altos: More attempts to get the carrier steady. Signed-off-by: Keith Packard --- 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++) {