From c8ac29574b2d461ba1c3da986141d832bbd2959e Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Tue, 28 Feb 2017 07:04:47 -1000 Subject: [PATCH] STM32:stm32_wwd Fixed irq interface --- arch/arm/src/stm32/stm32_wwdg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/stm32/stm32_wwdg.c b/arch/arm/src/stm32/stm32_wwdg.c index ddf9c688474..a299de8c991 100644 --- a/arch/arm/src/stm32/stm32_wwdg.c +++ b/arch/arm/src/stm32/stm32_wwdg.c @@ -305,7 +305,7 @@ static int stm32_interrupt(int irq, FAR void *context, FAR void *arg) * upon return. */ - priv->handler(irq, context); + priv->handler(irq, context, arg); } /* The EWI interrupt is cleared by writing '0' to the EWIF bit in the @@ -780,7 +780,7 @@ void stm32_wwdginitialize(FAR const char *devpath) (void)watchdog_register(devpath, (FAR struct watchdog_lowerhalf_s *)priv); - /* When the microcontroller enters debug mode (Cortex™-M4F core halted), + /* When the microcontroller enters debug mode (Cortex�-M4F core halted), * the WWDG counter either continues to work normally or stops, depending * on DBG_WWDG_STOP configuration bit in DBG module. */