Skip to content

Commit 470ef49

Browse files
committed
Revert "Removed const from register declaration"
This reverts commit c569dcc.
1 parent c569dcc commit 470ef49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_STM/TARGET_STM32G0/STM32Cube_FW/STM32G0xx_HAL_Driver/stm32g0xx_ll_rtc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3074,7 +3074,7 @@ __STATIC_INLINE void LL_RTC_BKP_SetRegister(TAMP_TypeDef *TAMPx, uint32_t Backup
30743074
*/
30753075
__STATIC_INLINE uint32_t LL_RTC_BKP_GetRegister(TAMP_TypeDef *TAMPx, uint32_t BackupRegister)
30763076
{
3077-
register __IO uint32_t *tmp;
3077+
const register __IO uint32_t *tmp;
30783078

30793079
tmp = &(TAMPx->BKP0R) + BackupRegister;
30803080

0 commit comments

Comments
 (0)