diff options
Diffstat (limited to 'cpu/nios/interrupts.c')
-rw-r--r-- | cpu/nios/interrupts.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpu/nios/interrupts.c b/cpu/nios/interrupts.c index 981b8f7d80f..31eabde53d6 100644 --- a/cpu/nios/interrupts.c +++ b/cpu/nios/interrupts.c @@ -30,6 +30,9 @@ #include <asm/ptrace.h> #include <common.h> #include <command.h> +#ifdef CONFIG_STATUS_LED +#include <status_led.h> +#endif /****************************************************************************/ @@ -72,6 +75,9 @@ void timer_interrupt (struct pt_regs *regs) nios_timer_t *tmr = (nios_timer_t *)CFG_NIOS_TMRBASE; tmr->status = 0; timestamp += CFG_NIOS_TMRMS; +#ifdef CONFIG_STATUS_LED + status_led_tick(timestamp); +#endif } #endif |