altos/telefiretwo-v0.2: Add AO_CC1200_SPI_SPEED
authorKeith Packard <keithp@keithp.com>
Wed, 19 Apr 2017 21:19:28 +0000 (14:19 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 19 Apr 2017 21:19:28 +0000 (14:19 -0700)
Needed for products with different SPI speed options.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telefiretwo-v0.2/ao_pins.h

index 70af5dd198976beac23b3353b3caf7d67ce4b031..469e9937b89d9214631e5393abde407b6bf734b1 100644 (file)
 #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)