[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:
David Lin 2020-02-24 20:12:23 +08:00 committed by GitHub
parent 4b99c7df66
commit 011ed26bac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ void rt_hw_interrupt_init(void)
rt_uint32_t rt_hw_interrupt_get_active(rt_uint32_t fiq_irq) 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) void rt_hw_interrupt_ack(rt_uint32_t fiq_irq, rt_uint32_t id)