mirror of
https://github.com/apache/nuttx.git
synced 2026-08-11 07:25:13 +00:00
STM32:stm32_wwd Fixed irq interface
This commit is contained in:
parent
6443aec36b
commit
c8ac29574b
1 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue