aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-02-20 19:54:19 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-02-20 19:54:19 +0000
commitb97d65b80fed63a5f31097652f9556659c2338d7 (patch)
treedd9b4683b352d2e4c20d6ea08037c72a2cc6be8f /os/hal/platforms
parent3cb4ca415b5fa9b7f0157a9d49f844be127d746e (diff)
downloadChibiOS-b97d65b80fed63a5f31097652f9556659c2338d7.tar.gz
ChibiOS-b97d65b80fed63a5f31097652f9556659c2338d7.tar.bz2
ChibiOS-b97d65b80fed63a5f31097652f9556659c2338d7.zip
Fixed bug 3489727.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3963 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/STM8S/hal_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM8S/hal_lld.c b/os/hal/platforms/STM8S/hal_lld.c
index fc4f72f5e..980cf4bab 100644
--- a/os/hal/platforms/STM8S/hal_lld.c
+++ b/os/hal/platforms/STM8S/hal_lld.c
@@ -62,7 +62,7 @@ void hal_lld_init(void) {
#if !STM8S_NO_CLOCK_INIT
/* Makes sure that HSI is stable before proceeding.*/
- CLK->ICKR |= CLK_ICKR_HSIRDY;
+ CLK->ICKR |= CLK_ICKR_HSIEN;
while ((CLK->ICKR & CLK_ICKR_HSIRDY) == 0)
;