From fc407d00864d41e6457dd59f888065c8b27994b9 Mon Sep 17 00:00:00 2001 From: vrepetenko Date: Sun, 25 Jul 2021 22:07:20 +0000 Subject: [PATCH] Fixed RCC_CFGR_SWS_MSI definition. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14618 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/STM32WLxx/hal_lld.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os/hal/ports/STM32/STM32WLxx/hal_lld.h b/os/hal/ports/STM32/STM32WLxx/hal_lld.h index 0db06f6ea..a91a12420 100644 --- a/os/hal/ports/STM32/STM32WLxx/hal_lld.h +++ b/os/hal/ports/STM32/STM32WLxx/hal_lld.h @@ -218,8 +218,8 @@ #endif /* Some ST headers do not have this definition.*/ -#if !defined(RCC_CFGR_SWS_HSI) -#define RCC_CFGR_SWS_HSI (0x00000000UL) +#if !defined(RCC_CFGR_SWS_MSI) +#define RCC_CFGR_SWS_MSI (0x00000000UL) #endif /* Some ST headers do not have this definition.*/