Skip to content

Commit 7397881

Browse files
dey-rcarlescufi
authored andcommitted
driver: watchdog: wdt_ifx_cat1: masking added
Masking is added so that WDT is not invoked multiple times Signed-off-by: Ritwika Dey <[email protected]>
1 parent dae2f33 commit 7397881

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/watchdog/wdt_ifx_cat1.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ static void ifx_cat1_wdt_isr_handler(const struct device *dev)
3636
if (dev_data->callback) {
3737
dev_data->callback(dev, 0);
3838
}
39+
Cy_WDT_MaskInterrupt();
3940
}
4041
#endif /* IFX_CAT1_WDT_IS_IRQ_EN */
4142

0 commit comments

Comments
 (0)