summaryrefslogtreecommitdiff
path: root/src/drivers/ao_radio_master.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-10-15 00:06:57 -0700
committerKeith Packard <keithp@keithp.com>2012-10-15 00:06:57 -0700
commitc6069e38d6d2f9b37aa8671c41b4a470d92996a4 (patch)
treeffdb865f8f68a102420fdba3a8b36155f36c5f17 /src/drivers/ao_radio_master.c
parent80227c08444d5c82fd43320644cdeec6f34fee1b (diff)
altos/telelco: Crank up SPI speed to cc1111
The cc1111 can handle up to 3MHz, so use 2MHz. Also, crank down the packet wait time to 10ms, which should be plenty long for the remote box to receive and return a packet. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_radio_master.c')
-rw-r--r--src/drivers/ao_radio_master.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_radio_master.c b/src/drivers/ao_radio_master.c
index 73ac3c03..4a37ace0 100644
--- a/src/drivers/ao_radio_master.c
+++ b/src/drivers/ao_radio_master.c
@@ -53,7 +53,7 @@ ao_radio_master_start(void)
{
ao_spi_get_bit(AO_RADIO_CS_PORT, AO_RADIO_CS_PIN, AO_RADIO_CS,
AO_RADIO_SPI_BUS,
- AO_SPI_SPEED_200kHz);
+ AO_SPI_SPEED_2MHz);
}
static void