diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-22 09:58:33 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-08-22 09:58:33 +0000 |
commit | bb48071bc5f863fcecb8c43f88f50235c60a2768 (patch) | |
tree | bf6b422f234cfe58ff954c3944fd031938c5905b /os/hal/ports/STM32 | |
parent | f1e6a55322f18fe69293ce9cc4e1da31a589ea6f (diff) | |
download | ChibiOS-bb48071bc5f863fcecb8c43f88f50235c60a2768.tar.gz ChibiOS-bb48071bc5f863fcecb8c43f88f50235c60a2768.tar.bz2 ChibiOS-bb48071bc5f863fcecb8c43f88f50235c60a2768.zip |
Fixed bug #873.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10455 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32')
-rw-r--r-- | os/hal/ports/STM32/STM32F7xx/hal_lld.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/os/hal/ports/STM32/STM32F7xx/hal_lld.h b/os/hal/ports/STM32/STM32F7xx/hal_lld.h index 7fbf8fe9d..8bce8bfbe 100644 --- a/os/hal/ports/STM32/STM32F7xx/hal_lld.h +++ b/os/hal/ports/STM32/STM32F7xx/hal_lld.h @@ -1935,11 +1935,11 @@ #if (STM32_SAI1SEL == STM32_SAI1SEL_OFF) || defined(__DOXYGEN__)
#define STM32_SAI1CLK 0
#elif STM32_SAI1SEL == STM32_SAI1SEL_SAIPLL
-#define STM32_SAI1SEL STM32_PLLSAIDIVQ_CLKOUT
+#define STM32_SAI1CLK STM32_PLLSAIDIVQ_CLKOUT
#elif STM32_SAI1SEL == STM32_SAI1SEL_I2SPLL
-#define STM32_SAI1SEL STM32_PLLI2SDIVQ_CLKOUT
+#define STM32_SAI1CLK STM32_PLLI2SDIVQ_CLKOUT
#elif STM32_SAI1SEL == STM32_SAI1SEL_CKIN
-#define STM32_SAI1SEL 0 /* Unknown, would require a board value */
+#define STM32_SAI1CLK 0 /* Unknown, would require a board value */
#else
#error "invalid source selected for SAI1 clock"
#endif
@@ -1950,11 +1950,11 @@ #if (STM32_SAI2SEL == STM32_SAI2SEL_OFF) || defined(__DOXYGEN__)
#define STM32_SAI2CLK 0
#elif STM32_SAI2SEL == STM32_SAI2SEL_SAIPLL
-#define STM32_SAI2SEL STM32_PLLSAIDIVQ_CLKOUT
+#define STM32_SAI2CLK STM32_PLLSAIDIVQ_CLKOUT
#elif STM32_SAI2SEL == STM32_SAI2SEL_I2SPLL
-#define STM32_SAI2SEL STM32_PLLI2SDIVQ_CLKOUT
+#define STM32_SAI2CLK STM32_PLLI2SDIVQ_CLKOUT
#elif STM32_SAI2SEL == STM32_SAI2SEL_CKIN
-#define STM32_SAI2SEL 0 /* Unknown, would require a board value */
+#define STM32_SAI2CLK 0 /* Unknown, would require a board value */
#else
#error "invalid source selected for SAI2 clock"
#endif
|