telegps-v2.0: slow down radio chip spi speed
authorBdale Garbee <bdale@gag.com>
Wed, 26 Apr 2017 04:58:00 +0000 (22:58 -0600)
committerBdale Garbee <bdale@gag.com>
Wed, 26 Apr 2017 04:58:00 +0000 (22:58 -0600)
src/telegps-v2.0/ao_pins.h

index c51f0af..85a05f2 100644 (file)
@@ -146,7 +146,7 @@ struct ao_adc {
 #define AO_CC1200_SPI_CS_PIN    5
 #define AO_CC1200_SPI_BUS       AO_SPI_1_PA5_PA6_PA7
 #define AO_CC1200_SPI           stm_spi1
-#define AO_CC1200_SPI_SPEED     AO_SPI_SPEED_FAST
+#define AO_CC1200_SPI_SPEED     AO_SPI_SPEED_6MHz
 
 #define AO_CC1200_INT_PORT              (&stm_gpioa)
 #define AO_CC1200_INT_PIN               4