diff options
Diffstat (limited to 'nuttx/configs/stm32f429i-disco/src/stm32_spi.c')
-rw-r--r-- | nuttx/configs/stm32f429i-disco/src/stm32_spi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/configs/stm32f429i-disco/src/stm32_spi.c b/nuttx/configs/stm32f429i-disco/src/stm32_spi.c index 5eb95de85..2a640df93 100644 --- a/nuttx/configs/stm32f429i-disco/src/stm32_spi.c +++ b/nuttx/configs/stm32f429i-disco/src/stm32_spi.c @@ -311,6 +311,7 @@ int stm32_spi5cmddata(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool cmd) * Valid SPI device structure reference on success; a NULL on failure * ******************************************************************************/ + #ifdef CONFIG_STM32_SPI5 FAR struct spi_dev_s *stm32_spi5initialize(void) { @@ -322,4 +323,4 @@ FAR struct spi_dev_s *stm32_spi5initialize(void) return g_spidev5; } #endif -#endif /* CONFIG_STM32_SPI1 || CONFIG_STM32_SPI2 */ +#endif /* CONFIG_STM32_SPI1 || ... CONFIG_STM32_SPI5 */ |