aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-11-09 10:39:36 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-11-09 10:39:36 +0000
commit28ae11aeace265a0a911d2f37ec8af695ca794a5 (patch)
tree468286df2d60b19d25fda1a30054692f8e8c853c /os/hal
parentfd96d460ff3a978a7f63b33963b894698412e8e5 (diff)
downloadChibiOS-28ae11aeace265a0a911d2f37ec8af695ca794a5.tar.gz
ChibiOS-28ae11aeace265a0a911d2f37ec8af695ca794a5.tar.bz2
ChibiOS-28ae11aeace265a0a911d2f37ec8af695ca794a5.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8455 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/ports/STM32/LLD/SPIv1/i2s_lld.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/os/hal/ports/STM32/LLD/SPIv1/i2s_lld.c b/os/hal/ports/STM32/LLD/SPIv1/i2s_lld.c
index fe95636ac..a5abc5b85 100644
--- a/os/hal/ports/STM32/LLD/SPIv1/i2s_lld.c
+++ b/os/hal/ports/STM32/LLD/SPIv1/i2s_lld.c
@@ -112,7 +112,7 @@
#define STM32_I2S3_CFGR_CFG (SPI_I2SCFGR_I2SCFG_1 | \
SPI_I2SCFGR_I2SCFG_0)
#endif
-#endif /* !STM32_I2S_IS_MASTER(STM32_I2S_SP3_MODE) */
+#endif /* !STM32_I2S_IS_MASTER(STM32_I2S_SPI3_MODE) */
/*===========================================================================*/
/* Driver exported variables. */
@@ -123,10 +123,10 @@
I2SDriver I2SD1;
#endif
- /** @brief I2S2 driver identifier.*/
- #if STM32_I2S_USE_SPI2 || defined(__DOXYGEN__)
- I2SDriver I2SD2;
- #endif
+/** @brief I2S2 driver identifier.*/
+#if STM32_I2S_USE_SPI2 || defined(__DOXYGEN__)
+I2SDriver I2SD2;
+#endif
/** @brief I2S3 driver identifier.*/
#if STM32_I2S_USE_SPI3 || defined(__DOXYGEN__)