diff options
Diffstat (limited to 'nuttx/arch/z16/src/common/up_doirq.c')
-rw-r--r-- | nuttx/arch/z16/src/common/up_doirq.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nuttx/arch/z16/src/common/up_doirq.c b/nuttx/arch/z16/src/common/up_doirq.c index 93c8c9639..f5f483f41 100644 --- a/nuttx/arch/z16/src/common/up_doirq.c +++ b/nuttx/arch/z16/src/common/up_doirq.c @@ -40,9 +40,11 @@ #include <nuttx/config.h> #include <sys/types.h> +#include <assert.h> + #include <nuttx/irq.h> #include <nuttx/arch.h> -#include <assert.h> +#include <arch/board/board.h> #include "chip/chip.h" #include "os_internal.h" @@ -79,7 +81,7 @@ FAR chipreg_t *up_doirq(int irq, FAR chipreg_t *regs) { - chipreg_t *ret = regs; + FAR chipreg_t *ret = regs; up_ledon(LED_INIRQ); #ifdef CONFIG_SUPPRESS_INTERRUPTS |