1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

LP-512 fix f3 pios_rtc.c (squash this in previous commit)

This commit is contained in:
Vladimir Zidar 2017-05-29 17:03:21 +02:00
parent b523f69f0e
commit 6fb9a4abc7

View File

@ -128,8 +128,8 @@ void PIOS_RTC_irq_handler(void)
RTC_ClearITPendingBit(RTC_IT_WUT);
}
if (EXTI_GetITStatus(EXTI_Line22) != RESET) {
EXTI_ClearITPendingBit(EXTI_Line22);
if (EXTI_GetITStatus(EXTI_Line20) != RESET) {
EXTI_ClearITPendingBit(EXTI_Line20);
}
}