aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F3xx/hal_lld.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-23 15:06:04 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-23 15:06:04 +0000
commiteda043cc49e1c41485619876d8fdaf93358d44ac (patch)
treee127751b79b6126a47a921b8d6002608ab68e16e /os/hal/ports/STM32/STM32F3xx/hal_lld.c
parent775ab02a91ab162685b34018357e6b3b9480b5c2 (diff)
downloadChibiOS-eda043cc49e1c41485619876d8fdaf93358d44ac.tar.gz
ChibiOS-eda043cc49e1c41485619876d8fdaf93358d44ac.tar.bz2
ChibiOS-eda043cc49e1c41485619876d8fdaf93358d44ac.zip
Fixed bug #570.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7798 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F3xx/hal_lld.c')
-rw-r--r--os/hal/ports/STM32/STM32F3xx/hal_lld.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F3xx/hal_lld.c b/os/hal/ports/STM32/STM32F3xx/hal_lld.c
index 5fe983e79..874ba8ef5 100644
--- a/os/hal/ports/STM32/STM32F3xx/hal_lld.c
+++ b/os/hal/ports/STM32/STM32F3xx/hal_lld.c
@@ -32,6 +32,12 @@
/* Driver exported variables. */
/*===========================================================================*/
+/**
+ * @brief CMSIS system core clock variable.
+ * @note It is declared in system_stm32f3xx.h.
+ */
+uint32_t SystemCoreClock = STM32_SYSCLK;
+
/*===========================================================================*/
/* Driver local variables and types. */
/*===========================================================================*/