mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-22 18:06:40 +00:00
bdk: watchdog: clear timer interrupt also in handling
This commit is contained in:
parent
70523e404f
commit
d259d6f6d6
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ void watchdog_end()
|
||||||
TMR(TIMER_WDT4_UNLOCK_PATTERN) = TIMER_MAGIC_PTRN;
|
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_START_CNT; // Re-arm to clear any interrupts.
|
||||||
TMR(TIMER_WDT4_COMMAND) = TIMER_CNT_DISABLE;
|
TMR(TIMER_WDT4_COMMAND) = TIMER_CNT_DISABLE;
|
||||||
|
TMR(TIMER_TMR9_TMR_PCR) = TIMER_INTR_CLR;
|
||||||
}
|
}
|
||||||
|
|
||||||
void watchdog_handle()
|
void watchdog_handle()
|
||||||
|
|
Loading…
Reference in a new issue