diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-27 20:15:24 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-09-27 20:15:24 +0000 |
commit | f664e163e5b861f80a013423fbe1018a2de38ed0 (patch) | |
tree | 76562a9d5c0d28f60049eb4cb2d4bc9b9a47d035 /nuttx/arch | |
parent | 7dc357a4e6e33773044b59b75d585f672f9649f8 (diff) | |
download | px4-firmware-f664e163e5b861f80a013423fbe1018a2de38ed0.tar.gz px4-firmware-f664e163e5b861f80a013423fbe1018a2de38ed0.tar.bz2 px4-firmware-f664e163e5b861f80a013423fbe1018a2de38ed0.zip |
Fix STM32 SPI3 remap logic
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5200 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_gpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_gpio.c b/nuttx/arch/arm/src/stm32/stm32_gpio.c index 4703e8208..1dedd7ce7 100644 --- a/nuttx/arch/arm/src/stm32/stm32_gpio.c +++ b/nuttx/arch/arm/src/stm32/stm32_gpio.c @@ -128,6 +128,7 @@ static inline void stm32_gpioremap(void) val |= AFIO_MAPR_SPI1_REMAP; #endif #ifdef CONFIG_STM32_SPI3_REMAP + val |= AFIO_MAPR_SPI3_REMAP; #endif #ifdef CONFIG_STM32_I2C1_REMAP |