Revert "Removed const from register declaration"

This reverts commit c569dcce79.
pull/13006/head
George Beckstein 2020-08-14 12:03:25 -04:00
parent c569dcce79
commit 470ef492b3
1 changed files with 1 additions and 1 deletions

View File

@ -3074,7 +3074,7 @@ __STATIC_INLINE void LL_RTC_BKP_SetRegister(TAMP_TypeDef *TAMPx, uint32_t Backup
*/
__STATIC_INLINE uint32_t LL_RTC_BKP_GetRegister(TAMP_TypeDef *TAMPx, uint32_t BackupRegister)
{
register __IO uint32_t *tmp;
const register __IO uint32_t *tmp;
tmp = &(TAMPx->BKP0R) + BackupRegister;