diff options
author | Andrew Tridgell <tridge@samba.org> | 2014-01-29 21:30:15 +1100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-29 13:17:37 +0100 |
commit | e7e3e132adcbc755cd6cc2b97f6c8c827a9140bf (patch) | |
tree | 6179bf9652ec2a8177d83b3f868b3981f54fd8e3 /nuttx-configs/px4fmu-v2/include/board.h | |
parent | 6b709e21d3aa5e88458b4f3319a39b4abbadc085 (diff) | |
download | px4-firmware-e7e3e132adcbc755cd6cc2b97f6c8c827a9140bf.tar.gz px4-firmware-e7e3e132adcbc755cd6cc2b97f6c8c827a9140bf.tar.bz2 px4-firmware-e7e3e132adcbc755cd6cc2b97f6c8c827a9140bf.zip |
FMUv2: push SPI2 GPIO speed up to 50MHz as well
Diffstat (limited to 'nuttx-configs/px4fmu-v2/include/board.h')
-rwxr-xr-x | nuttx-configs/px4fmu-v2/include/board.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx-configs/px4fmu-v2/include/board.h b/nuttx-configs/px4fmu-v2/include/board.h index c6c771491..e56b14ba4 100755 --- a/nuttx-configs/px4fmu-v2/include/board.h +++ b/nuttx-configs/px4fmu-v2/include/board.h @@ -264,9 +264,9 @@ #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 -#define GPIO_SPI2_SCK GPIO_SPI2_SCK_2 +#define GPIO_SPI2_MISO (GPIO_SPI2_MISO_1|GPIO_SPEED_50MHz) +#define GPIO_SPI2_MOSI (GPIO_SPI2_MOSI_1|GPIO_SPEED_50MHz) +#define GPIO_SPI2_SCK (GPIO_SPI2_SCK_2|GPIO_SPEED_50MHz) /************************************************************************************ * Public Data |