mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-20 05:11:42 +00:00
bdk: watchdog: clear timer interrupt also in handling
This commit is contained in:
parent
70523e404f
commit
d259d6f6d6
@ -96,6 +96,7 @@ void watchdog_end()
|
||||
TMR(TIMER_WDT4_UNLOCK_PATTERN) = TIMER_MAGIC_PTRN;
|
||||
TMR(TIMER_WDT4_COMMAND) = TIMER_START_CNT; // Re-arm to clear any interrupts.
|
||||
TMR(TIMER_WDT4_COMMAND) = TIMER_CNT_DISABLE;
|
||||
TMR(TIMER_TMR9_TMR_PCR) = TIMER_INTR_CLR;
|
||||
}
|
||||
|
||||
void watchdog_handle()
|
||||
|
Loading…
Reference in New Issue
Block a user