Nuvoton
/
NuMaker-mbed-tickless-example
NuMaker tickless example
Diff: wakeup_rtc.cpp
- Revision:
- 23:a2a48e3ef326
- Parent:
- 20:759aab916d47
diff -r 59740ecd1781 -r a2a48e3ef326 wakeup_rtc.cpp --- a/wakeup_rtc.cpp Wed Oct 05 10:45:11 2022 +0800 +++ b/wakeup_rtc.cpp Wed Oct 05 11:28:51 2022 +0800 @@ -56,7 +56,7 @@ wakeup_eventflags.set(EventFlag_Wakeup_RTC_Alarm); } -#elif defined(TARGET_M451) || defined(TARGET_M480) || defined(TARGET_M251) +#elif defined(TARGET_M451) || defined(TARGET_M460) || defined(TARGET_M480) || defined(TARGET_M251) if (RTC_GET_ALARM_INT_FLAG()) { /* Clear RTC alarm interrupt flag */ RTC_CLEAR_ALARM_INT_FLAG();