Merge pull request #5289 from LMESTM/test_api_ticker

STM32: RTC: Call irq_handler whenever interrupt fires
pull/4955/head
Jimmy Brisson 2017-10-13 09:28:18 -05:00 committed by GitHub
commit 410ef0cc6c
1 changed files with 2 additions and 5 deletions

View File

@ -296,13 +296,10 @@ int rtc_isenabled(void)
static void RTC_IRQHandler(void)
{
/* Update HAL state */
HAL_RTCEx_WakeUpTimerIRQHandler(&RtcHandle);
}
void HAL_RTCEx_WakeUpTimerEventCallback(RTC_HandleTypeDef *hrtc)
{
/* In case of registered handler, call it. */
if (irq_handler) {
// Fire the user callback
irq_handler();
}
}