STM32:stm32_wwd Fixed irq interface

This commit is contained in:
David Sidrane 2017-02-28 07:04:47 -10:00
parent 6443aec36b
commit c8ac29574b

View File

@ -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<EFBFBD>-M4F core halted),
* the WWDG counter either continues to work normally or stops, depending
* on DBG_WWDG_STOP configuration bit in DBG module.
*/