[bsp/hifive1]Fixed symbol error in interrupt.c
Note that the symbol ';;' is wrong in 'return (rt_uint32_t)PLIC_claim_interrupt(&g_plic);;', so that ';;' should been replaced with ';'.
This commit is contained in:
parent
4b99c7df66
commit
011ed26bac
|
@ -93,7 +93,7 @@ void rt_hw_interrupt_init(void)
|
|||
|
||||
rt_uint32_t rt_hw_interrupt_get_active(rt_uint32_t fiq_irq)
|
||||
{
|
||||
return (rt_uint32_t)PLIC_claim_interrupt(&g_plic);;
|
||||
return (rt_uint32_t)PLIC_claim_interrupt(&g_plic);
|
||||
}
|
||||
|
||||
void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id)
|
||||
|
|
Loading…
Reference in New Issue