summaryrefslogtreecommitdiff
path: root/src/telemega-v1.0
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-06-28 18:40:46 -0700
committerKeith Packard <keithp@keithp.com>2016-06-29 19:17:45 -0700
commit30eb5d2fa77e036690170e7057fa9df669375ae5 (patch)
tree7028ae4d74fe4e28772a07a3e79618fcc1eb2fc4 /src/telemega-v1.0
parent61ad8e5bf428246ac89cad7cb9a1edf2ef735fd5 (diff)
altos/drivers: Use more reliable byte interface for CC1120 reception
This replaces direct register access with function calls to allow that code to respect the hardware requirements. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telemega-v1.0')
-rw-r--r--src/telemega-v1.0/ao_pins.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/telemega-v1.0/ao_pins.h b/src/telemega-v1.0/ao_pins.h
index b81e59a9..58b4d61a 100644
--- a/src/telemega-v1.0/ao_pins.h
+++ b/src/telemega-v1.0/ao_pins.h
@@ -307,7 +307,6 @@ struct ao_adc {
#define AO_CC1120_SPI_CS_PORT (&stm_gpioc)
#define AO_CC1120_SPI_CS_PIN 5
#define AO_CC1120_SPI_BUS AO_SPI_2_PB13_PB14_PB15
-#define AO_CC1120_SPI stm_spi2
#define AO_CC1120_INT_PORT (&stm_gpioe)
#define AO_CC1120_INT_PIN 1