From 22f9ac6624c9e41364d4e3ad7cba42be53f734b9 Mon Sep 17 00:00:00 2001 From: Laurent Meunier Date: Wed, 20 Feb 2019 15:50:55 +0100 Subject: [PATCH] STM32WB: FIX LL RTC warning --- targets/TARGET_STM/TARGET_STM32WB/device/stm32wbxx_ll_rtc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/TARGET_STM/TARGET_STM32WB/device/stm32wbxx_ll_rtc.h b/targets/TARGET_STM/TARGET_STM32WB/device/stm32wbxx_ll_rtc.h index 59f84e5764..c37c081c80 100644 --- a/targets/TARGET_STM/TARGET_STM32WB/device/stm32wbxx_ll_rtc.h +++ b/targets/TARGET_STM/TARGET_STM32WB/device/stm32wbxx_ll_rtc.h @@ -3091,7 +3091,7 @@ __STATIC_INLINE void LL_RTC_BAK_SetRegister(RTC_TypeDef *RTCx, uint32_t BackupRe */ __STATIC_INLINE uint32_t LL_RTC_BAK_GetRegister(RTC_TypeDef *RTCx, uint32_t BackupRegister) { - const register __IO uint32_t *tmp; + register const __IO uint32_t *tmp; tmp = &(RTCx->BKP0R) + BackupRegister;