aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal')
-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)
;