work1
Dependencies: mbed MAX44009 mbed-os Si7021
mbed-allow-rtc-interrupt.patch@0:d3e390d62607, 2020-05-27 (annotated)
- Committer:
- danaeb
- Date:
- Wed May 27 11:37:29 2020 +0000
- Revision:
- 0:d3e390d62607
create
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
danaeb | 0:d3e390d62607 | 1 | diff --git a/targets/TARGET_STM/rtc_api.c b/targets/TARGET_STM/rtc_api.c |
danaeb | 0:d3e390d62607 | 2 | index e28a311b84..2c0b13698e 100644 |
danaeb | 0:d3e390d62607 | 3 | --- a/targets/TARGET_STM/rtc_api.c |
danaeb | 0:d3e390d62607 | 4 | +++ b/targets/TARGET_STM/rtc_api.c |
danaeb | 0:d3e390d62607 | 5 | @@ -286,6 +286,7 @@ static void RTC_IRQHandler(void) |
danaeb | 0:d3e390d62607 | 6 | { |
danaeb | 0:d3e390d62607 | 7 | /* Update HAL state */ |
danaeb | 0:d3e390d62607 | 8 | RtcHandle.Instance = RTC; |
danaeb | 0:d3e390d62607 | 9 | + HAL_RTC_AlarmIRQHandler(&RtcHandle); |
danaeb | 0:d3e390d62607 | 10 | if (__HAL_RTC_WAKEUPTIMER_GET_IT(&RtcHandle, RTC_IT_WUT)) { |
danaeb | 0:d3e390d62607 | 11 | /* Get the status of the Interrupt */ |
danaeb | 0:d3e390d62607 | 12 | if ((uint32_t)(RTC->CR & RTC_IT_WUT) != (uint32_t)RESET) { |
danaeb | 0:d3e390d62607 | 13 |