diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-16 12:54:45 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-12-16 12:54:45 +0000 |
commit | 3e15ae6226fda173581fc6e1d3ef50d31e9e14a1 (patch) | |
tree | 09041be41cf681690ca88b7d30e61883bd4f5d5f /os/hal/ports/STM32/STM32L4xx/hal_lld.h | |
parent | d2e8ef6bfeb65e57b8fcb589871f5421f5ac36bd (diff) | |
download | ChibiOS-3e15ae6226fda173581fc6e1d3ef50d31e9e14a1.tar.gz ChibiOS-3e15ae6226fda173581fc6e1d3ef50d31e9e14a1.tar.bz2 ChibiOS-3e15ae6226fda173581fc6e1d3ef50d31e9e14a1.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8610 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32L4xx/hal_lld.h')
-rw-r--r-- | os/hal/ports/STM32/STM32L4xx/hal_lld.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/STM32L4xx/hal_lld.h b/os/hal/ports/STM32/STM32L4xx/hal_lld.h index 57006fab1..6fc416fb7 100644 --- a/os/hal/ports/STM32/STM32L4xx/hal_lld.h +++ b/os/hal/ports/STM32/STM32L4xx/hal_lld.h @@ -1935,7 +1935,7 @@ #if (STM32_CLK48SEL == STM32_CLK48SEL_NOCLK) || defined(__DOXYGEN__)
#define STM32_48CLK 0
#elif STM32_CLK48SEL == STM32_CLK48SEL_PLLSAI1
-#define STM32_48CLK (STM32_PLLVCO / STM32_PLLSAI1Q_VALUE)
+#define STM32_48CLK (STM32_PLLSAI1VCO / STM32_PLLSAI1Q_VALUE)
#elif STM32_CLK48SEL == STM32_CLK48SEL_PLL
#define STM32_48CLK (STM32_PLLVCO / STM32_PLLQ_VALUE)
#elif STM32_CLK48SEL == STM32_CLK48SEL_MSI
@@ -1984,7 +1984,7 @@ /**
* @brief SDMMC frequency.
*/
-#define STM32_SDMMCCLK STM32_48CLK
+#define STM32_SDMMCCLK STM32_48CLK
/**
* @brief Clock of timers connected to APB1
|