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.
Dependencies: mbed MAX44009 mbed-os Si7021
mbed-allow-rtc-interrupt.patch
- Committer:
- danaeb
- Date:
- 2020-05-28
- Revision:
- 2:25f27478fdf9
- Parent:
- 0:d3e390d62607
File content as of revision 2:25f27478fdf9:
diff --git a/targets/TARGET_STM/rtc_api.c b/targets/TARGET_STM/rtc_api.c index e28a311b84..2c0b13698e 100644 --- a/targets/TARGET_STM/rtc_api.c +++ b/targets/TARGET_STM/rtc_api.c @@ -286,6 +286,7 @@ static void RTC_IRQHandler(void) { /* Update HAL state */ RtcHandle.Instance = RTC; + HAL_RTC_AlarmIRQHandler(&RtcHandle); if (__HAL_RTC_WAKEUPTIMER_GET_IT(&RtcHandle, RTC_IT_WUT)) { /* Get the status of the Interrupt */ if ((uint32_t)(RTC->CR & RTC_IT_WUT) != (uint32_t)RESET) {