summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/str71x/str71x_decodeirq.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/str71x/str71x_decodeirq.c')
-rw-r--r--nuttx/arch/arm/src/str71x/str71x_decodeirq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/str71x/str71x_decodeirq.c b/nuttx/arch/arm/src/str71x/str71x_decodeirq.c
index e3d11454c..2316c33e6 100644
--- a/nuttx/arch/arm/src/str71x/str71x_decodeirq.c
+++ b/nuttx/arch/arm/src/str71x/str71x_decodeirq.c
@@ -90,7 +90,7 @@
void up_decodeirq(uint32_t *regs)
{
#ifdef CONFIG_SUPPRESS_INTERRUPTS
- up_ledon(LED_INIRQ);
+ board_led_on(LED_INIRQ);
lowsyslog("Unexpected IRQ\n");
current_regs = regs;
PANIC();
@@ -101,7 +101,7 @@ void up_decodeirq(uint32_t *regs)
* info from CIC register without the setup).
*/
- up_ledon(LED_INIRQ);
+ board_led_on(LED_INIRQ);
irq = getreg32(STR71X_EIC_IVR);
/* Verify that the resulting IRQ number is valid */
@@ -142,6 +142,6 @@ void up_decodeirq(uint32_t *regs)
PANIC(); /* Normally never happens */
}
#endif
- up_ledoff(LED_INIRQ);
+ board_led_off(LED_INIRQ);
#endif
}