diff options
Diffstat (limited to 'nuttx/arch/sh/src/sh1/sh1_irq.c')
-rw-r--r-- | nuttx/arch/sh/src/sh1/sh1_irq.c | 5 |
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" } |