FMUv2: set SPI GPIO pins on bus 1 to 50MHz

this solves the ms5611 issue related to temperature. We now need to
test if it is OK with all sensors
This commit is contained in:
Andrew Tridgell 2014-01-29 21:26:28 +11:00 committed by Lorenz Meier
parent c801446088
commit 6b709e21d3
1 changed files with 3 additions and 3 deletions

View File

@ -260,9 +260,9 @@
*
* There are sensors on SPI1, and SPI2 is connected to the FRAM.
*/
#define GPIO_SPI1_MISO GPIO_SPI1_MISO_1
#define GPIO_SPI1_MOSI GPIO_SPI1_MOSI_1
#define GPIO_SPI1_SCK GPIO_SPI1_SCK_1
#define GPIO_SPI1_MISO (GPIO_SPI1_MISO_1|GPIO_SPEED_50MHz)
#define GPIO_SPI1_MOSI (GPIO_SPI1_MOSI_1|GPIO_SPEED_50MHz)
#define GPIO_SPI1_SCK (GPIO_SPI1_SCK_1|GPIO_SPEED_50MHz)
#define GPIO_SPI2_MISO GPIO_SPI2_MISO_1
#define GPIO_SPI2_MOSI GPIO_SPI2_MOSI_1