From b97d65b80fed63a5f31097652f9556659c2338d7 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 20 Feb 2012 19:54:19 +0000 Subject: Fixed bug 3489727. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3963 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM8S/hal_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal') 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) ; -- cgit v1.2.3