summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-04-19 14:19:28 -0700
committerKeith Packard <keithp@keithp.com>2017-04-19 14:19:28 -0700
commit944d8466a31842c34304b77364d632e259238018 (patch)
tree028bbec586d19825cdf15b067fb15ee67a3ef6a0 /src
parent1e7143e5d448cd05c355f4a323ae4892b02022ac (diff)
altos/telefiretwo-v0.2: Add AO_CC1200_SPI_SPEED
Needed for products with different SPI speed options. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/telefiretwo-v0.2/ao_pins.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/telefiretwo-v0.2/ao_pins.h b/src/telefiretwo-v0.2/ao_pins.h
index 70af5dd1..469e9937 100644
--- a/src/telefiretwo-v0.2/ao_pins.h
+++ b/src/telefiretwo-v0.2/ao_pins.h
@@ -110,6 +110,7 @@
#define AO_CC1200_SPI_CS_PIN 7
#define AO_CC1200_SPI_BUS AO_SPI_2_PB13_PB14_PB15
#define AO_CC1200_SPI stm_spi2
+#define AO_CC1200_SPI_SPEED AO_SPI_SPEED_FAST
#define AO_CC1200_INT_PORT (&stm_gpiob)
#define AO_CC1200_INT_PIN (11)