arch/arm/src/stm32h7/stm32_spi.c: Correct a typo in condition compilation.

This commit is contained in:
Jonathan Richner 2019-07-05 08:14:18 -06:00 committed by Gregory Nutt
parent 5cc0a63546
commit fc7d43dc55

View File

@ -155,7 +155,7 @@
# endif
#endif /* SPI123 */
#if defined(CONFIG_STM32H7_SPI4) || defined(CONFIG_STM32H7_SPI4)
#if defined(CONFIG_STM32H7_SPI4) || defined(CONFIG_STM32H7_SPI5)
# if STM32_RCC_D2CCIP1R_SPI45SRC == RCC_D2CCIP1R_SPI45SEL_APB
# define SPI45_KERNEL_CLOCK_FREQ STM32_PCLK2_FREQUENCY
# else