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
|
@ -36,6 +36,7 @@ static void ifx_cat1_wdt_isr_handler(const struct device *dev)
|
|||
if (dev_data->callback) {
|
||||
dev_data->callback(dev, 0);
|
||||
}
|
||||
Cy_WDT_MaskInterrupt();
|
||||
}
|
||||
#endif /* IFX_CAT1_WDT_IS_IRQ_EN */
|
||||
|
||||
|
|
Loading…
Reference in a new issue