summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh/src/sh1/sh1_irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sh/src/sh1/sh1_irq.c')
-rw-r--r--nuttx/arch/sh/src/sh1/sh1_irq.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/nuttx/arch/sh/src/sh1/sh1_irq.c b/nuttx/arch/sh/src/sh1/sh1_irq.c
index 47eed797b..f56f642d5 100644
--- a/nuttx/arch/sh/src/sh1/sh1_irq.c
+++ b/nuttx/arch/sh/src/sh1/sh1_irq.c
@@ -83,8 +83,7 @@ void up_irqinitialize(void)
/* Enable interrupts */
#ifndef CONFIG_SUPPRESS_INTERRUPTS
-# warning "enable value needed"
- irqrestore(0);
+ irqenable();
#endif
}
@@ -136,7 +135,7 @@ void up_maskack_irq(int irq)
****************************************************************************/
#warning "Should this be supported?"
-int up_irqpriority(int irq, ubyte priority)
+void up_irqpriority(int irq, ubyte priority)
{
#warning "To be provided"
}