Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
Diff: targets/TARGET_STM/rtc_api.c
- Revision:
- 165:e614a9f1c9e2
- Parent:
- 160:d5399cc887bb
- Child:
- 167:e84263d55307
--- a/targets/TARGET_STM/rtc_api.c Wed May 10 12:06:41 2017 +0100 +++ b/targets/TARGET_STM/rtc_api.c Fri May 26 12:39:01 2017 +0100 @@ -83,7 +83,7 @@ error("PeriphClkInitStruct RTC failed with LSE\n"); } #else /* !RTC_LSI */ - __PWR_CLK_ENABLE(); + __HAL_RCC_PWR_CLK_ENABLE(); // Reset Backup domain __HAL_RCC_BACKUPRESET_FORCE(); @@ -147,7 +147,7 @@ { #if RTC_LSI // Enable Power clock - __PWR_CLK_ENABLE(); + __HAL_RCC_PWR_CLK_ENABLE(); // Enable access to Backup domain HAL_PWR_EnableBkUpAccess();