driver: watchdog: wdt_ifx_cat1: masking added
Masking is added so that WDT is not invoked multiple times Signed-off-by: Ritwika Dey <Ritwika.Dey@infineon.com>
This commit is contained in:
parent
dae2f33e5e
commit
739788143f
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ static void ifx_cat1_wdt_isr_handler(const struct device *dev)
|
||||||
if (dev_data->callback) {
|
if (dev_data->callback) {
|
||||||
dev_data->callback(dev, 0);
|
dev_data->callback(dev, 0);
|
||||||
}
|
}
|
||||||
|
Cy_WDT_MaskInterrupt();
|
||||||
}
|
}
|
||||||
#endif /* IFX_CAT1_WDT_IS_IRQ_EN */
|
#endif /* IFX_CAT1_WDT_IS_IRQ_EN */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue