work1

Dependencies:   mbed MAX44009 mbed-os Si7021

mbed-allow-rtc-interrupt.patch

Committer:
danaeb
Date:
2020-05-27
Revision:
0:d3e390d62607

File content as of revision 0:d3e390d62607:

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) {